以往用 RP 寫 Python 來控制 GPIO 的輸入輸出都有少少麻煩。
這個 GPIO ZERO API 看起來超易用哦!
大家可以看到只需要以幾句非常近似人類語言的句子便可以作基本的 GPIO 控制,十分適合教學用途呢!


官方介紹及使用方法:
https://www.raspberrypi.org/blog/gpio-zero-a-friendly-python-api-for-physical-computing
這個 GPIO ZERO API 看起來超易用哦!
大家可以看到只需要以幾句非常近似人類語言的句子便可以作基本的 GPIO 控制,十分適合教學用途呢!


官方介紹及使用方法:
https://www.raspberrypi.org/blog/gpio-zero-a-friendly-python-api-for-physical-computing