Author |
Message |
Topic: What's wrong with this sprintf() SOLVED |
gpsmikey
Replies: 2
Views: 8211
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2016 10:41 pm Subject: What's wrong with this sprintf() SOLVED |
The C compiler only spits out an error when it figures out it is confused - that can often be one or more lines below where the actual error is.
mikey |
Topic: problem with uart |
gpsmikey
Replies: 9
Views: 20412
|
Forum: General CCS C Discussion Posted: Mon Jul 11, 2016 3:37 pm Subject: problem with uart |
Yes, I realize that, but a warning would be nice as it would cause the user (hopefully) to think about it. Granted, there are a whole bunch of things like accidentally putting a semicolon at the end ... |
Topic: problem with uart |
gpsmikey
Replies: 9
Views: 20412
|
Forum: General CCS C Discussion Posted: Sun Jul 10, 2016 9:27 am Subject: problem with uart |
I would at least expect it to generate a warning to the effect of "no uart selected" or something. While a null uart may be helpful in some cases, it is not overly user friendly to not at l ... |
Topic: ac voltage and frequency measurement using clamping |
gpsmikey
Replies: 12
Views: 25453
|
Forum: General CCS C Discussion Posted: Thu Jun 09, 2016 8:52 am Subject: ac voltage and frequency measurement using clamping |
We used to have a sign at work over our avionics design group that read "Garbage in Gold out" (seemed to be inspired by managements insistence that we come up with good hardware based on ve ... |
Topic: What is CCS up to? |
gpsmikey
Replies: 16
Views: 27649
|
Forum: General CCS C Discussion Posted: Mon May 30, 2016 10:38 pm Subject: What is CCS up to? |
The one thing that is badly lagging the features, is the manual.
Some 25% of the questions here actually come down to either the manual not being comprehensive any more, and/or the examples being inc ... |
Topic: 3 volt PIC and 5 volt LCD |
gpsmikey
Replies: 7
Views: 20721
|
Forum: General CCS C Discussion Posted: Thu Apr 14, 2016 10:59 am Subject: 3 volt PIC and 5 volt LCD |
I liked the level shifter that Sparkfun has for sale ( https://www.sparkfun.com/products/12009 ) and was planning on using that system with my next little project. (you still need Jay's voltage step ... |
Topic: Initial value in eeprom on pic18f65k80 |
gpsmikey
Replies: 10
Views: 22213
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 10:44 pm Subject: Re: I keep trying |
Thanks for your input gpsmikey. I've tried that and it worked however it has the inconvenience that everytime the system gets powered down it executes the setting part upon restarting and the value ... |
Topic: Initial value in eeprom on pic18f65k80 |
gpsmikey
Replies: 10
Views: 22213
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 3:55 pm Subject: Initial value in eeprom on pic18f65k80 |
What I do is have a byte that indicates I have set up the initial values. First time the code runs, it sees they have not been set, programs the initial values, sets the flag they have been programme ... |
Topic: pic selection |
gpsmikey
Replies: 15
Views: 53293
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 9:47 am Subject: pic selection |
It's an 25LC640 eeprom
Endurance: 1M cycles (guaranteed)
i take such guarantees at no more than 30% of "face value"
I wonder what their "guaranteed&qu ... |
Topic: TRIAC Flickering problem |
gpsmikey
Replies: 15
Views: 37426
|
Forum: General CCS C Discussion Posted: Wed Apr 06, 2016 6:42 pm Subject: TRIAC Flickering problem |
Then there's the KISS way of PWM 'light'. Use a PIC, mosfet and '12 volt' LEDS. They are EASY to control, cheap and SAFE !!! Anything with 'mains' power HAS to be treated with the utmost of respect. I ... |
Topic: All adc channels are giving same reading |
gpsmikey
Replies: 12
Views: 25690
|
Forum: General CCS C Discussion Posted: Tue Apr 05, 2016 11:00 am Subject: All adc channels are giving same reading |
Kind of afraid to ask, but this is on real hardware right? (not Proteus) |
Topic: Making a calculator in proteus and ccs |
gpsmikey
Replies: 3
Views: 9973
|
Forum: General CCS C Discussion Posted: Wed Mar 30, 2016 5:34 pm Subject: Making a calculator in proteus and ccs |
Gee - that sounds like an invitation too good to be true |
Topic: NEW and old CCS compiler |
gpsmikey
Replies: 20
Views: 48076
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2016 1:41 pm Subject: NEW and old CCS compiler |
Virtual store can be disabled if you take full ownership.
<http://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-to-disable-virtualstore-in-windows-7/55dce284-0dcd-46af-892e-d2b9 ... |
Topic: NEW and old CCS compiler |
gpsmikey
Replies: 20
Views: 48076
|
Forum: General CCS C Discussion Posted: Fri Mar 25, 2016 9:17 pm Subject: NEW and old CCS compiler |
set up an empty directory in your program files area
COPY YOUR AUTHENTICATION FILES FROM ccs
( .crg FILES) INTO THE new DIRECTORY
then during the install OF THE NEW COMPILER-
, point the i ... |
Topic: Bootloader Pic18f2550 r232 with ccs c compiler and tera term |
gpsmikey
Replies: 26
Views: 53689
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2016 8:15 pm Subject: Bootloader Pic18f2550 r232 with ccs c compiler and tera term |
If you don't add the "errors" to the RS232 config, one missed char etc. will cause the uart to lock up. According to my manual, it says "Used to cause the compiler to keep receive erro ... |
|