Jul 18, 2016
11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 18, 2016
11:00 AM
Hi Everyone,
I am having trouble with a Counter, my program has an EEPROM memory from which it reads the values and updates the counter,
I cant get the values to update.
the counter triggers an interrupt with a compare value
void update(){
Counter_Stop();
Counter_WritePeriod(revcount);
Counter_WriteCompare(revcount);
Counter_WriteCounter(0);
Counter_SaveConfig();
Timer_WritePeriod(Period);
Timer_WriteCounter(Period);
Counter_Start();
clr();screen();
}
7 Replies