Search found 3 matches
- 01 Feb 2020, 15:53
- Forum: ESP Easy: Hardware
- Topic: Timer issue.
- Replies: 2
- Views: 8109
Re: Timer issue.
thanks so much, learning curve is quite steep and it was quite a silly mistake.
- 31 Jan 2020, 01:42
- Forum: ESP Easy: Hardware
- Topic: Timer issue.
- Replies: 2
- Views: 8109
Timer issue.
I need to repeat an event every second and flip-flop a GPIO pin, this does NOT work, what is wrong? on system#boot do timerset,1,1 let,1,1 enddo on rules#timer=1 do if %v1% = 1 oled,1,1,"ha" gpio,0,0 let,1,2 timerset,1,2 else oled,1,1,"hi" gpio,0,1 let,1,1 timerset,1,2 endif enddo
- 31 Jan 2020, 01:34
- Forum: Introduce yourself
- Topic: Timer issue.
- Replies: 2
- Views: 7381
Timer issue.
What is wrong with this code... All I want is to flip the status of a led regularly like every second. on system#boot do timerset,1,1 let,1,1 enddo on rules#timer=1 do if %v1% = 1 oled,1,1,"ha" gpio,0,0 let,1,2 timerset,1,1 else oled,1,1,"hi" gpio,0,1 let,1,1 timerset,1,1 endif e...