Micromax IN Note 1 and IN 1 B full review, Micromax IN mobiles launched in India in 24th and 26th Nov 2020. Micromax IN Note 1 comes with 4gb 64gb and 4gb 128gb variant with 46mp AI quad camera and 16mp wide angel selfie camera with MediaTek Helio G85 processor and battery comes with 5000mAh with fast charger. Micromax IN 1b comes with 2gb + 32gb and 4gb + 64gb variant with 13MP + 2MP rear camera with 8MP front camera with MediaTek Helio G35 processor and also comes with big battery 5000mAh with type-c port.
Arduino Clap LED program #define MicAO 8 int ledPin = 13; int clap = 0; long detection_range_start = 0; long detection_range = 0; boolean status_lights = false; void setup() { pinMode(MicAO, INPUT); pinMode(ledPin,OUTPUT); } void loop() { int status_MicAO = digitalRead(MicAO); if (status_MicAO == 0) { if (clap == 0) { detection_range_start = detection_range = millis(); clap++; } else if (clap > 0 && millis()-detection_range >= 50) { detection_range = millis(); clap++; } } if (millis()-detection_range_start >= 400) { if (clap == 2) { if (!status_lights) { status_lights = true; digitalWrite(ledPin, HIGH); } else if (status_lights) { status_lights = false; digitalWrite(ledPin, LOW); } } clap = 0; } }
Comments
Post a Comment