Author |
Message |
Topic: Int8 Rom problem |
dan king
Replies: 13
Views: 24858
|
Forum: General CCS C Discussion Posted: Mon May 01, 2017 1:23 pm Subject: Int8 Rom problem |
maybe you need to implement some wear levelling ;) |
Topic: CCP1 rollover |
dan king
Replies: 5
Views: 15445
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2016 10:19 am Subject: CCP1 rollover |
I just used the principle of your example extending the timing to 32 bits and the results are excellent. That makes much better sense in that I don't need to worry about the state of the timer1 overfl ... |
Topic: CCP1 rollover |
dan king
Replies: 5
Views: 15445
|
Forum: General CCS C Discussion Posted: Wed Oct 26, 2016 2:11 pm Subject: CCP1 rollover |
Excellent, that works. Thanks for the guidance.
Dan |
Topic: CCP1 rollover |
dan king
Replies: 5
Views: 15445
|
Forum: General CCS C Discussion Posted: Wed Oct 26, 2016 2:02 pm Subject: CCP1 rollover |
Would that require that the initial TIMER1 value be 0 at the instant the starting CCP interrupt occurred? The code sample I'm using allows TIMER1 to free run and the ISR captures the start and stop va ... |
Topic: CCP1 rollover |
dan king
Replies: 5
Views: 15445
|
Forum: General CCS C Discussion Posted: Wed Oct 26, 2016 1:39 pm Subject: CCP1 rollover |
I'm using CCP1 tied to an IR RX/TX pair to measure the speed of an object passing by (18F2553). I've never used the CCP module before but I do have working code modified from the code library that wor ... |
Topic: 18F4550 and INT_EXT serial port. |
dan king
Replies: 13
Views: 27939
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2016 11:16 am Subject: 18F4550 and INT_EXT serial port. |
why not use the USB port for the PC connection and then the HW uart for the other? The 18f4550 is a USB enabled part. |
Topic: PIC16F877 to PIC18F4550 code migration |
dan king
Replies: 14
Views: 28614
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2016 7:01 am Subject: PIC16F877 to PIC18F4550 code migration |
thanks for the links, I'll check it out.
Dan |
Topic: PIC16F877 to PIC18F4550 code migration |
dan king
Replies: 14
Views: 28614
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2016 6:36 am Subject: PIC16F877 to PIC18F4550 code migration |
not to hijack the thread but ....
is anyone aware of a good breakout board with the 46k22 mounted? I have been using the 18f2553 because the Sparkfun breakout board with USB is so convenient. I wou ... |
Topic: 18f2553 USB failure after low voltage operation |
dan king
Replies: 7
Views: 12642
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2015 12:10 pm Subject: 18f2553 USB failure after low voltage operation |
I was never able to load modifed code. When I decided to make the changes is when I found I could no longer access the USB port. I first thought the bootloader somehow got overwritten but then I reali ... |
Topic: 18f2553 USB failure after low voltage operation |
dan king
Replies: 7
Views: 12642
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2015 9:02 am Subject: 18f2553 USB failure after low voltage operation |
surprisingly the PIC is still running, just no USB.
The motor system is from a production design and does have RLC suppresion and decoupling. The supply sags because it was never intended to have e ... |
Topic: 18f2553 USB failure after low voltage operation |
dan king
Replies: 7
Views: 12642
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2015 8:27 am Subject: 18f2553 USB failure after low voltage operation |
I have code that makes use of the USB VCP for the 18f2553. The code has been working well for a project that drives a DC motor using PWM for speed control. The HW uses the UBW board purchased from Spa ... |
Topic: alarm panel keypad protocol and I/F |
dan king
Replies: 4
Views: 6208
|
Forum: General CCS C Discussion Posted: Fri May 16, 2014 7:06 am Subject: alarm panel keypad protocol and I/F |
Hi John,
Thanks for the circuit cellar tip. I'll search for that. I saw a few hits as well for the search but hoping for a jumping off point if someone had already worked through something similar ... |
Topic: alarm panel keypad protocol and I/F |
dan king
Replies: 4
Views: 6208
|
Forum: General CCS C Discussion Posted: Fri May 16, 2014 5:31 am Subject: alarm panel keypad protocol and I/F |
Has anyone interfaced a pic with a home alarm panel or keypad and might be able to share the code to communicate with the panel? I have read various posts where the interface on some has been describe ... |
Topic: How to display numerical string on lcd ? |
dan king
Replies: 4
Views: 7805
|
Forum: General CCS C Discussion Posted: Wed Mar 19, 2014 11:42 am Subject: How to display numerical string on lcd ? |
Jeremiah,
is that typical of C or is that a CCS feature? Sorry to hi-jack the thread but it's a neat concept |
Topic: SOLVED using delays with USB |
dan king
Replies: 21
Views: 35314
|
Forum: General CCS C Discussion Posted: Sun Jan 26, 2014 7:15 am Subject: solved |
Yup, that was the problem. I changed the build setting to RELEASE, from DEBUG and everything works perfectly. Thanks for the tip.
Dan |
|