Registrato: 23/01/18 08:01
I have the last versions of PCW and have some problems.
To determine where are the problems I write little programs for 16F876. And I found some differences. Here a part of my test program. The printf( ) is in the while() and I increment cMin and csec each second. When the two variables come to 99, I reset to 1.
This program, compiled with version 3.163, show me 12 54 on my LCD and each second the two values are incremented. It's ok. When I compile with versions 3.212 , 3.213 and 3.214 I see on my LCD 10 50. After 10 seconds I have 20 60 and so one. I never see 21 22 23 .... Only 20 30 40 ... If I change the printf to printf(LCD_PutChar,"%02u:%02U", cMin, csec);
I have the same printing. The last manual don't give a change in the parameters and the readme file don't give info. I see only this message on the CCS New version board Have somebody an answer ? Where is my mistake ?
I didn't find the right solution from the Internet.