A minimal example that reads a digital IR (obstacle/proximity) sensor on pin D2 and lights the onboard LED (pin 13) when an object is detected. The project is configured to build with PlatformIO for ...
#define PPM_FrLen 27000 //set the PPM frame length in microseconds (1ms = 1000µs) #define PPM_PulseLen 400 //set the pulse length ppm[0] = map(received_data.ch1, 0 ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果