Author |
Message |
Topic: ms into MIN and SEC algorithm |
skiffex
Replies: 2
Views: 6349
|
Forum: General CCS C Discussion Posted: Sat Feb 05, 2005 5:00 pm Subject: ms into MIN and SEC algorithm |
Hi, i'm looking for extremly fast (read effecient) algorithm of converting the milliseconds into minutes and seconds : something like
temp=time_ms/1000;
time_min=temp/60;
time_sec=temp%60;
but ... |
Topic: Variable inconsistency in CCS |
skiffex
Replies: 5
Views: 9669
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2005 7:37 pm Subject: Variable inconsistency in CCS |
No, the problem occurs in the release compilation too. with ICD2 disconnected...
and the problem is not the same as in that forum... |
Topic: Variable inconsistency in CCS |
skiffex
Replies: 5
Views: 9669
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2005 6:36 pm Subject: Variable inconsistency in CCS |
please note that in PCM 3.190, when i'm commenting out 1 unused variable (int8) it starts to work perfectly... but i need this 1 variable latter on... currently it looks like this:
int8 gWaitBusMes ... |
Topic: Variable inconsistency in CCS |
skiffex
Replies: 5
Views: 9669
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2005 6:32 pm Subject: Variable inconsistency in CCS |
i'm using pic18f452, with MPLAB 7 and ICD2, latest drivers/firmware installed. PCM version is 3.190 on first pc, and 3.207 on 2nd pc.
3.190 shows the correct beginning of the protocol (until it got ... |
Topic: Variable inconsistency in CCS |
skiffex
Replies: 5
Views: 9669
|
Forum: General CCS C Discussion Posted: Fri Feb 04, 2005 6:06 pm Subject: Variable inconsistency in CCS |
Hi. I've coded some application, and find it not working properly on the first run. After hours of debugging i've found out that comething, besides my code, causing some variables to have unpredictabl ... |
|