今天的最后一篇文章,一共7篇,很久没有写这么满了。后面的硬件就不测试了,大概率是正确的,我只写源代码。而且这些代码放在Jetson Nano上面也是可以的。 用到了io和time,先设置IO的map方式,然后是引脚。接着死循环,交替的让18脚输出高低电平,中间是时间。
The Raspberry Pi is a great machine to learn the ins and outs of blinking pins, but for doing anything that requires blinking pins fast, you’re better off going with a BeagleBone. This has been the ...
今天给大家介绍的是i.MXRT上的普通GPIO与高速GPIO差异。 GPIO 可以说是 MCU 上最简单最常用的外设模块了,当一些原生功能外设接口模块不能满足项目设计要求时,我们常常会考虑使用 GPIO 来软件模拟实现相应功能,这时候 GPIO 本身性能就显得至关重要了。 在早期 ...
The Raspberry Pi has been very popular among hobbyists and educators ever since its launch in 2011. The Raspberry Pi is a credit-card-sized single-board computer with a Broadcom BCM 2835 SoC, 256MB to ...
In addition to being a serviceable single board computer, the Raspberry Pi also has a header full of GPIO pins at your beck and call. [Tedbot] sent in a great tutorial on using these pins with Python, ...