public static void Main() { // write your code here var apds = new APDS9960(Cpu.Pin.GPIO_Pin4); apds.EnableProximity(true); apds.EnableGestures(true); }
public static void Main() { // write your code here var apds = new APDS9960(Cpu.Pin.GPIO_Pin10); apds.EnableProximity(true); apds.SetProximityInterruptThreshhold(0, 175); apds.EnableProximityInterrupt(true); }