Author |
Message |
Topic: PIC12F675 with ICD2 as a debugger... |
Mark
Replies: 15
Views: 29965
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 10:28 am Subject: PIC12F675 with ICD2 as a debugger... |
That was 6 years ago. I used the header it worked. I used an ICD2, the ICD3 is fairly new. Point is, if your program doesn't run at all but an asm program does run, then it's you program and not th ... |
Topic: PIC12F675 with ICD2 as a debugger... |
Mark
Replies: 15
Views: 29965
|
Forum: General CCS C Discussion Posted: Wed Mar 09, 2011 9:33 am Subject: PIC12F675 with ICD2 as a debugger... |
No tricks that I remember. If it works in ASM and not in C then I'd say its your C program that is the cause and not the header. |
Topic: Ring Tone Player - Plays ring tones on PICDEM2 plus board |
Mark
Replies: 12
Views: 99329
|
Forum: Code Library Posted: Thu Dec 03, 2009 10:34 am Subject: Ring Tone Player - Plays ring tones on PICDEM2 plus board |
what is pin to S2 and S3?
/* S3 - Selects Melody */
/* S2 - Starts/Stops Melody */
// Read the current state of the buttons
if (!input( ... |
Topic: pgen |
Mark
Replies: 16
Views: 40972
|
Forum: General CCS C Discussion Posted: Sat Apr 19, 2008 4:37 pm Subject: pgen |
it means that anytime the compiler sees LOOPCNT is will replace it with "(30);" In an assignment that is not a problem:
x = LOOPCNT; which is
x = (30);;
But what happens if you
if (x ... |
Topic: Reading an analog voltage with a digital input |
Mark
Replies: 3
Views: 6177
|
Forum: General CCS C Discussion Posted: Sun Mar 25, 2007 8:57 am Subject: Reading an analog voltage with a digital input |
For slope
ww1.microchip.com/downloads/en/AppNotes/00863a.pdf
For delta
ww1.microchip.com/downloads/en/AppNotes/00700a.pdf |
Topic: Program with Switches.... Please help with Code |
Mark
Replies: 7
Views: 8529
|
Forum: General CCS C Discussion Posted: Wed Jan 31, 2007 8:41 pm Subject: Re: Program with Switches.... Please help with Code |
but I am getting some errors when I try to compile the code.
He states that it won't compile but...It seems as though the value is not incrementing correctly in the AUTO state maybe it did at some ... |
Topic: Flexible LCD driver |
Mark
Replies: 102
Views: 1056422
|
Forum: Code Library Posted: Tue Jan 30, 2007 6:36 pm Subject: Flexible LCD driver |
You have to make sure that you setup the external interrupt as well as make sure the tris is set correctly. |
Topic: state machine |
Mark
Replies: 3
Views: 5059
|
Forum: General CCS C Discussion Posted: Tue Jan 30, 2007 9:00 am Subject: state machine |
I wouldn't scan a keypad in an ISR. Is this a periodic event? If so, then why not process it in the main. |
Topic: state machine |
Mark
Replies: 3
Views: 5059
|
Forum: General CCS C Discussion Posted: Tue Jan 30, 2007 7:03 am Subject: state machine |
Instead of putting them into a buffer, why not just keep a count of them in a variable. |
Topic: need help compiling c into hex file!!! |
Mark
Replies: 2
Views: 4230
|
Forum: General CCS C Discussion Posted: Mon Jan 29, 2007 7:05 am Subject: need help compiling c into hex file!!! |
Look in the project directory and you will find the hex file if it did indeed compile without errors. |
Topic: Microchip TCP/IP stack |
Mark
Replies: 3
Views: 5993
|
Forum: General CCS C Discussion Posted: Mon Jan 29, 2007 6:57 am Subject: Microchip TCP/IP stack |
ENC28j60.
http://www.ccsinfo.com/product_info.php?products_id=embethkit |
Topic: Microchip TCP/IP stack |
Mark
Replies: 3
Views: 5993
|
Forum: General CCS C Discussion Posted: Sat Jan 27, 2007 5:11 pm Subject: Microchip TCP/IP stack |
Different stack. Contact CCS and ask very nicely and they will probably supply it you you. |
Topic: Converting to USB..... |
Mark
Replies: 5
Views: 6435
|
Forum: General CCS C Discussion Posted: Sat Jan 27, 2007 2:42 pm Subject: Converting to USB..... |
/////////////////////////////////////////////////////////////////////////
//// ////
//// ex_usb_serial.c ... |
Topic: Why has H4 Use not effect ? Please need explanation ! |
Mark
Replies: 2
Views: 4289
|
Forum: General CCS C Discussion Posted: Sat Jan 27, 2007 7:07 am Subject: Why has H4 Use not effect ? Please need explanation ! |
You must specify 32000000 in the use delay. Also, the first time you set the H4 fuse, you must power off the board and then back on. Search the forum and you will find many examples of the same prob ... |
Topic: Converting to USB..... |
Mark
Replies: 5
Views: 6435
|
Forum: General CCS C Discussion Posted: Fri Jan 26, 2007 3:54 pm Subject: Converting to USB..... |
Not really true. You can easily make your own USB to Serial converter out of a PIC. Drivers are standard and there is plenty of code available. Now you wouldn't actually need to make the USB to ser ... |
|