Arduino-PowerFunctions icon indicating copy to clipboard operation
Arduino-PowerFunctions copied to clipboard

Support sending beacon messages to EV3 IR sensor

Open gregretkowski opened this issue 9 years ago • 0 comments

The EV3 IR Sensor/Remote has a Beacon mode where the Remote will send a constant beacon signal and the Sensor can detect the distance and direction to the beacon. This PR adds the ability to send the beacon signal from the PowerFunctions library.

Usage:

#include "PowerFunctions.h"

PowerFunctions pf(3, 0);

void loop() {
    delay(220);
    pf.send_beacon();
}

gregretkowski avatar Jul 07 '16 16:07 gregretkowski