The connection is
Sensor (8bit) === > GPIO
GPIO===>LED
That's it.
The idea is to ensure real-time performance with drivers that don't allow other interrupts.
Self-Driver:
Polling GPIO with for (inti=0;i<n;i++).
Turn on the LED when the pattern matches in chronological order.
Break when you reach n times.
Let's go with the algorithm.
As mentioned above, the system freezes for a few seconds, is there no problem?
How do I ban all interrupts when a driver is called?
Or is there any other good mechanism?
Thank you for your cooperation.
raspberry-pi
There is also a way to run μITRON.
It's ITRON, so it's very real-time.
http://domisan.sakura.ne.jp/article/rp_toppers/rp_toppers.html
https://www.kara-kuri.jp/blog/?p=1224
https://tech.nikkeibp.co.jp/it/atcl/column/16/060700122/062200039/
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
578 Understanding How to Configure Google API Key
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.