summaryrefslogtreecommitdiff
path: root/src/lights (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-04-02move sleepUntil handling to main loopApexo1-4/+6
This should fix the issue of wakups that are triggered when the step() functions has reached its target cycle.
2026-04-02ADC: stop when going to sleep (except idle)Apexo1-1/+1
2026-04-01improve main loopApexo1-2/+5
- call cpu.tick() first, when we enter the loop; external events (which may cause an interrupt) can only happen when the loop is not running, so it makes sense to first check for interrupts before executing other instructions - don't go to sleep if an interrupt is pending
2026-03-29fix commentsApexo1-4/+4
2026-03-29cleanup exportsApexo1-10/+10
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.