Where communities thrive
Join over
1.5M+ people
Join over
100K+ communities
Free
without limits
Create
your own community
Explore more communities
eerimoq/simba
Simba OS.
People
Repo info
Activity
Fenix22
@Fenix22
500000 --> 41,34ms
lol
Erik Moqvist
@eerimoq
maybe 40 ms is the longest possible busy wait?
Fenix22
@Fenix22
really?
Erik Moqvist
@eerimoq
what happens if you call the function twice with 40000?
Fenix22
@Fenix22
1 sec
Erik Moqvist
@eerimoq
40 ms busy wait is a long time
normally only busy wait a few us
Fenix22
@Fenix22
yeah yeah i kwon
i tried this for ensure accuracy
Erik Moqvist
@eerimoq
ok
Fenix22
@Fenix22
Work!
you say the truth
Erik Moqvist
@eerimoq
lol
I'm guessing!
Fenix22
@Fenix22
ihihihih
ahahhahaha
this analyzer save my life
printf was killing me
Erik Moqvist
@eerimoq
it's amazing
Fenix22
@Fenix22
1 question
how i can manage gpio input toggle interrupt
?
Erik Moqvist
@eerimoq
please try thrd_sleep(1) in a loop printing something once a second, to ensure the software system tick works.
_
Fenix22
@Fenix22
okok
Work!
Erik Moqvist
@eerimoq
wohoooo
amazing
Fenix22
@Fenix22
also the printf
Erik Moqvist
@eerimoq
nice
Fenix22
@Fenix22
0,9969 second
Erik Moqvist
@eerimoq
Use the exti module for gpio interrupts
I've not used it myself on ESP
but it worked on AVR
Fenix22
@Fenix22
okok
Erik Moqvist
@eerimoq
I can have a look at it if there is a problem
Fenix22
@Fenix22
it use hardware interrupt or a timer that scan?
Erik Moqvist
@eerimoq
Was another guy who implemented the ESP port
it's hardware interrupt I think, at least that is the intention
Fenix22
@Fenix22
ok :D
Who program gitter?!?!?
all smiler are equals..
: )
now rude mode ON
Erik Moqvist
@eerimoq
lol
Fenix22
@Fenix22
: D
Erik Moqvist
@eerimoq
;D
time for bed
soonish
Fenix22
@Fenix22
okok