A few versions ago there was a Problem concerning the frequency and the LCDΒ΄s:
http://matrixmultimedia.com/mmforums/vi ... &view=next
This Problem is solved in Version 3.2.2. But now the watchdog stops the program. I just compiled an old ( working) program again with the new version and now it is not working anymore , bekause the watchdog stops it. Only if i reduce clock frequency down to 2 MHz ( using a 4 Mhz quarz) it works. And also the sign code seems to be changed, because now i got different sings on the LCD whe i compile the program again with the ne Flowcode version
Watchdog problem using LCD in version 3.2.2
- Steve
- Matrix Staff
- Posts: 3431
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
In general, we do not recommend the use of the Watchdog timer because there is no way to reset it during the delay icons within Flowcode.
If you have to use it, assign the prescaler to the watchdog and set the prescaler to the maximum value. If you are using an 877a, you would need a 'C' icon with the following code inside:
Regarding the sign code, please explain more and we'll look into that problem.
If you have to use it, assign the prescaler to the watchdog and set the prescaler to the maximum value. If you are using an 877a, you would need a 'C' icon with the following code inside:
Code: Select all
option_reg = 0xFF;