Author |
Message |
Topic: [Solved] Bootloader to program: how to share a byte |
Rob1955
Replies: 6
Views: 13775
|
Forum: General CCS C Discussion Posted: Wed Mar 15, 2017 5:59 pm Subject: [Solved] Bootloader to program: how to share a byte |
You are declaring 'status' as global in the actual application?. (so outside the code itself).
You show it as if the declaration might be inside the code. It needs to be outside, like the declarati ... |
Topic: [Solved] Bootloader to program: how to share a byte |
Rob1955
Replies: 6
Views: 13775
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2017 11:35 pm Subject: [Solved] Bootloader to program: how to share a byte |
Using the EEPROM, was going to use it's lives rather rapidly. Just make a variable 'common'. Choose a RAM location, and #locate a variable at this point. Use a global variable (but do not declare this ... |
Topic: Arrival Time - CCP |
Rob1955
Replies: 7
Views: 15916
|
Forum: General CCS C Discussion Posted: Mon Mar 13, 2017 12:00 am Subject: Arrival Time - CCP |
Thank you all for your contribution.
I did cover some grounds since. Got the prototype PCBs built and we are using 5.070 compiler now. Testing with both 18F26K22 and 18F65K40.
With the generou ... |
Topic: knowing cycle program time |
Rob1955
Replies: 7
Views: 14272
|
Forum: General CCS C Discussion Posted: Sun Mar 12, 2017 10:39 pm Subject: knowing cycle program time |
can have this time to be printed ? available to use in program ?
ex:
clock = 4Mhz
int x, y, z
x = y * z;
x = y + z;
delay_ms(10);
x = x + 100;
Whats the time of each cycle program...??
p ... |
Topic: Arrival Time - CCP |
Rob1955
Replies: 7
Views: 15916
|
Forum: General CCS C Discussion Posted: Sat Feb 25, 2017 7:48 pm Subject: Arrival Time - CCP |
Thanks guys. Appreciate the input.
Yes, agree about standardization. The one i mentioned above 18FxxK40 does have SMT, 5 UARTs, almost everything else! the lot really.
Glad this is easily do ... |
Topic: Arrival Time - CCP |
Rob1955
Replies: 7
Views: 15916
|
Forum: General CCS C Discussion Posted: Sat Feb 25, 2017 12:20 pm Subject: Arrival Time - CCP |
Hello everyone,
I am looking into PIC & CCS to measure arrival time of two input signals.
Never did PIC before but coming in from much higher-level language. From my research into many post ... |
|