Forum Discussion
CAlex
Contributor
3 years agoIt seems I can't reset the TO bit, when I wish to reset the bit it turns to 1 immediately.
CAlex
Contributor
3 years agoWhat I trying to get is a flag signal stays high for one clock wide and flip down for one clock wide and so on.
while (1)
{
if (*timer == 3)
{
*timer = 0;
!flag;
}
*led = flag;
};
It didn't work ,the flag stays the same when I read that.