DigitalKey()
From Microduino Wiki
DigitalKey(PIN)
Description DigitalKey is used to create an instance of the object DigitalKey which is used to detect digital signal sensors Parameters
Sample
#include <Microduino_Key.h>
DigitalKey keyDigital(A0); //Create a digital switch instance, named keyDigital and connect it to pin A0
void setup() {
}
void loop() {
}
Others |