Arduino light sensor

#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>

#include <MeOrion.h>

//double angle_rad = PI/180.0;
//double angle_deg = 180.0/PI;
MeLightSensor lightsensor_8(8);
MeSerial se;

void setup(){
Serial.begin(9600);

}

void loop(){

//Serial.println(lightsensor_8.read());
Serial.print(„CLS(0);“);
Serial.print(„DR0;“);
Serial.print(„DS32(30,90,'“);
Serial.print(String(„Light: „)+lightsensor_8.aRead2());
Serial.println(„‚,1);“);
delay(3000);
}

Jan D.
Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Articles: 675

Leave a Reply

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *