Post Created date
HOLD, DETECT SAME HOLD MANY TIMES , DO!
avrcandies wrote:States can even be combined or nested. A "high level" printer could have a set of states for handling paper  (moving, ready, jammed, empty, wrong size,...
Tuesday, 5 May 2020 - 17:11
HOLD, DETECT SAME HOLD MANY TIMES , DO!
Kartman wrote:I recently wrote a tutorial on debugging Wow. The thing that I wanted to learn I can code but can't code clean that's why its hard to debug that's right maybe I...
Sunday, 3 May 2020 - 05:46
HOLD, DETECT SAME HOLD MANY TIMES , DO!
avrcandies wrote: what do you mean, just use a variable & define some modes to be used:   if (mymode == FORWARD)    {do this stuff...      ...
Saturday, 2 May 2020 - 11:16
HOLD, DETECT SAME HOLD MANY TIMES , DO!
avrcandies wrote: if(button_down(BUTTON3_MASK))         {             mode_of_operation = 1;//ie in...
Saturday, 18 April 2020 - 19:03
HOLD, DETECT SAME HOLD MANY TIMES , DO!
Hey guys this is what I have thought I hope I have written it clearly so that you guys can understand it clearly. Well don't think that I am asking for code just want to ask a few...
Saturday, 18 April 2020 - 14:28
HOLD, DETECT SAME HOLD MANY TIMES , DO!
frog_jr wrote:Multitasking and state-machines are not mutually exclusive. Well I also thought like that just got confused with the names and nothing else. Thanks for clearing me...
Saturday, 18 April 2020 - 05:18
HOLD, DETECT SAME HOLD MANY TIMES , DO!
awneil wrote:Perhaps now would be a time to refactor ... ? Yes this would be a perfect time for a change so you tell which code can accomplish my requirements better Kartman's...
Friday, 17 April 2020 - 15:37
HOLD, DETECT SAME HOLD MANY TIMES , DO!
awneil wrote: Anshumaan wrote: I have read about them So why did you decide not to use one?   Well I thought that this will be a simple project but then the requirements...
Friday, 17 April 2020 - 15:17
HOLD, DETECT SAME HOLD MANY TIMES , DO!
ki0bk wrote: Have you read about state machines?  https://www.avrfreaks.net/forum/... Jim I haven't read this article but yes I have read about them please don't compare the...
Friday, 17 April 2020 - 14:12
Button with EEPROM
I don't know what is with me I have employed the most simple tactic but this time it works thanks for helping me guys and specially Kartman you always get what I am trying to say...
Wednesday, 26 February 2020 - 19:24
Button with EEPROM
clawson wrote: Your best bet is not to let the micro ever power off. Just keep it asleep and either wake up from  time to time to sense edges or better is to have the edges...
Wednesday, 26 February 2020 - 11:07
Button with EEPROM
Oh Kartman I realized that I made a mistake while reading your comment this code here perfectly debounces and hence avr registers only one press each time button is pressed. What...
Tuesday, 25 February 2020 - 19:20

Pages