Example
This example shows how to read potentiometer values and send it through Bluetooth
.
#include <NanoPlayBoard.h>
NanoPlayBoard board;
void setup() {
}
void loop() {
int value = board.ldr.read();
board.bluetooth.println(value);
delay(100);
}
The source code of this example is available on GitHub.