TED is a nonprofit devoted to ideas worth spreading. On this video feed, you'll find TED Talks to inspire, intrigue and stir the imagination from some of the world's leading thinkers and doers, speaking from the stage at TED conferences, TEDx events and partner events around the world. This podcast is also available in high-def video and audio-only formats.
…
continue reading
Контент предоставлен Adafruit Industries. Весь контент подкастов, включая выпуски, графику и описания подкастов, загружается и предоставляется непосредственно Adafruit Industries или его партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.
Player FM - приложение для подкастов
Работайте офлайн с приложением Player FM !
Работайте офлайн с приложением Player FM !
CircuitPython speedy keyswitch handling
MP4•Главная эпизода
Manage episode 295481176 series 1242341
Контент предоставлен Adafruit Industries. Весь контент подкастов, включая выпуски, графику и описания подкастов, загружается и предоставляется непосредственно Adafruit Industries или его партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.
Dan just dropped a new PR with our event-based key switch vector/matrix handling all done in the CircuitPython core https://github.com/adafruit/circuitpython/pull/4891 which will make keyboard projects a lot easier and a TON faster. Matrix/vector scanning is now done in a background interrupt and can handle all the work for you and emit key press/release events. Here I've got it on our Macropad, which has 12 keys - one on each GPIO so its a 'vector' keypad. The code is now twice as fast since we're no longer spending 4ms just for checking whether switches are pressed! #adafruit #circuitpython #keyboards Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
…
continue reading
4283 эпизодов
MP4•Главная эпизода
Manage episode 295481176 series 1242341
Контент предоставлен Adafruit Industries. Весь контент подкастов, включая выпуски, графику и описания подкастов, загружается и предоставляется непосредственно Adafruit Industries или его партнером по платформе подкастов. Если вы считаете, что кто-то использует вашу работу, защищенную авторским правом, без вашего разрешения, вы можете выполнить процедуру, описанную здесь https://ru.player.fm/legal.
Dan just dropped a new PR with our event-based key switch vector/matrix handling all done in the CircuitPython core https://github.com/adafruit/circuitpython/pull/4891 which will make keyboard projects a lot easier and a TON faster. Matrix/vector scanning is now done in a background interrupt and can handle all the work for you and emit key press/release events. Here I've got it on our Macropad, which has 12 keys - one on each GPIO so its a 'vector' keypad. The code is now twice as fast since we're no longer spending 4ms just for checking whether switches are pressed! #adafruit #circuitpython #keyboards Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
…
continue reading
4283 эпизодов
모든 에피소드
×Добро пожаловать в Player FM!
Player FM сканирует Интернет в поисках высококачественных подкастов, чтобы вы могли наслаждаться ими прямо сейчас. Это лучшее приложение для подкастов, которое работает на Android, iPhone и веб-странице. Зарегистрируйтесь, чтобы синхронизировать подписки на разных устройствах.