Search found 82 matches
- Wed Apr 03, 2013 9:03 pm
- Forum: Compiler
- Topic: user modules maybe
- Replies: 10
- Views: 4400
No worries Jerry, I just noticed the same thing the other poster did and wanted to let him know he is not alone. By the way it is not just your USB libs that show the warning, the originals do as well. I purposely moved the user folder so as to not use yours and the same warnings came up. I did noti...
- Wed Apr 03, 2013 7:26 pm
- Forum: Compiler
- Topic: user modules maybe
- Replies: 10
- Views: 4400
David, Just my 2 pennies. But somewhere after this latest compiler upgrades, not sure which one; these warnings started to appear. I only see them in the USB modules but i have not done an exhausted test of others. Just compile the Hid_1.bas from the sample folder and you will see the type of warnin...
- Mon Dec 03, 2012 3:15 pm
- Forum: Compiler
- Topic: 18F14K50 works with Swordfish, as HID USB device
- Replies: 9
- Views: 8386
Hi Roshan, Unfortunately you can only use a 12MHz or 48Mhz crystal for use as a High Speed USB device. These smaller USB PIC's do not have the PLL Prescaler that the 18F2455-2550 family does, to allow the 20MHz crystal to be used. As far as the waitforstrtimeout command not sure why it has been remo...
- Thu Apr 12, 2012 12:50 pm
- Forum: General
- Topic: Chances of Microchip releasing a 14 pin PIC18
- Replies: 5
- Views: 3543
Well you could use the QFN package but they are impossible to hand solder. For a free compiler for 16F Pics I recommend (I use) MikroElektronika MikroBasic. David feel free to whack this post for an advertisement, this is not my intent. It has a 2k limit for the free version, so if you can fit it in...
- Thu Mar 29, 2012 2:24 am
- Forum: Compiler
- Topic: Problems with the PIC18F25K22
- Replies: 31
- Views: 15305
Aresby, I believe you found the problem when you got it to run with the code in your second post. Try adding this to your original code Config FOSC = HSMP It should make it work?? It appears there is no default Config "FOSC" setting in the 18K25K22.bas file. According to the data sheet this PIC defa...
- Tue Mar 27, 2012 2:58 am
- Forum: Compiler
- Topic: Timer 1 oscillator
- Replies: 14
- Views: 6274
- Mon Mar 26, 2012 8:01 pm
- Forum: Compiler
- Topic: Timer 1 oscillator
- Replies: 14
- Views: 6274
Doh!! Disregard my previous posts I was looking at the 18F24K22 data sheet and apoligize to you and anyone lookig at this thread. Now looking at the corrcet data sheet 14K22 did you set TRISA = %xx10xxxx There is also an analog input on RA4(AN3) it needs to be disabled. ANSEL = %00000000 ' this disa...
- Mon Mar 26, 2012 7:21 pm
- Forum: Compiler
- Topic: Timer 1 oscillator
- Replies: 14
- Views: 6274
I assumed that when you were referring to your crystal caps that you were using a (secondary) external crystal for your timer1 source. Ignore my TRISC statement, now I know you are using the main clock for your source. Any reason for using 16-bit mode? I have it set at %00101010 and enable the timer...
- Mon Mar 26, 2012 5:07 pm
- Forum: Compiler
- Topic: Timer 1 oscillator
- Replies: 14
- Views: 6274
- Sat Mar 17, 2012 4:14 pm
- Forum: Compiler
- Topic: Serial comms using UART - query
- Replies: 16
- Views: 9274
To follow up on what Jerry is saying try adding SetBaudrate(br2400) BAUDCON = BAUDCON Or %00010000 to your code. This should invert the output so the AXE133 LCD will understand the data. Also you could use the software UART, module SUART.Bas I believe this works similiar to the PICAXE Uart, the outp...
- Fri Mar 16, 2012 8:17 pm
- Forum: Compiler
- Topic: Serial comms using UART - query
- Replies: 16
- Views: 9274
Aresby,
Try adding
After your clock setting but before your includes in your code and let us know if this works.
Try adding
Code: Select all
#option USART_BRGH = false
- Thu Jan 12, 2012 6:08 pm
- Forum: Compiler
- Topic: incorrect device file '_maxram' settings
- Replies: 9
- Views: 4343
Maybe you have different *.inc files that I do, but mine do not show any of the info I posted above. Yes most of the information in the *.bas file after "module SystemTypes " comes from the *.inc files I believe. But information I was asking for is what files contain the information listed in the "m...
- Thu Jan 12, 2012 4:01 pm
- Forum: Compiler
- Topic: incorrect device file '_maxram' settings
- Replies: 9
- Views: 4343
David, Could you tell me which Microchip files you get this information from. { **************************************************************** * Name : 18F26K22 * * Author : David John Barker * * Notice : Copyright (c) 2012 Mecanique * * : All Rights Reserved * * Date : 1/10/2012 * ***************...
- Wed Jan 11, 2012 4:40 pm
- Forum: Compiler
- Topic: incorrect device file '_maxram' settings
- Replies: 9
- Views: 4343
Jerry, I am with you and I have search the MPLAB files to no avail to find the data that gets generated by David’s system convert program. Not sure which files David uses to generate his *.bas files, it would be nice to know however. It looks like the *.dev files are used for the "// special functio...
- Wed Jul 27, 2011 2:42 pm
- Forum: Compiler
- Topic: i2c interrupt test but not work
- Replies: 2
- Views: 2308