实验硬件 发射端 Arduino + 433超外差发射机 高,低电平和悬空三种模式切换 由简单的官方库修改 /* This is a minimal sketch without using the library at all but only works for the 10 pole dip switch sockets. It saves a lot of memory and thus might be very useful to use with ATTinys :) h
/* This is a minimal sketch without using the library at all but only works for the 10 pole dip switch sockets. It saves a lot of memory and thus might be very useful to use with ATTinys :) https://github.com/sui77/rc-switch/ */ int RCLpin = 7; void
用Javascript来操作硬件早就不是一件稀奇的事情了. 所以作为一名电子专业出身的FE,我也打算尝试一下用js来驱动arduino: 要想操作这些底层硬件,肯定是需要一些工具的,我这里介绍的工具主要是 cylonjs 和 gort cylonjs其实就是一个操作"机器"的js框架,官网的介绍是这样的: Cylon.js is a JavaScript framework for robotics, physical computing, and the Internet of Th