This website is made available from support by Teaching Through Technology (T³) Alliance NSF award #OIA-1740991 and T³ Alliance partners. But Raspberry Pi I/O nodes create for each pin an own shell and run a not so lightweighted Python process in it… If you have a new set of gpio pins tested The whole code runs direct in Node.js and uses kernel live support. Compared to the solution, which is provided for Raspberry Pi, this way is much more efficient. This is tested on Orange Pi PC, Banana Pi M1, Banana Pi M2+ under Armbian. To get a LED light to turn on, we use a GPIO pin as “Output”, and create a script to turn it on and off (blinking). We use Node.js with the onoff module to control the GPIO. In this chapter we will use a Raspberry Pi and its GPIO to make a LED blink. Node.js Tutorial Node.js HOME Node.js Node.js Raspberry Pi GPIO – Blinking LED Previous Next Using the GPIO for Output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |