Go Down

Topic: photoresistor that needs help (Read 317 times) previous topic - next topic

Jun 09, 2012, 01:05 am Last Edit: Jun 09, 2012, 01:07 am by skeeter_mcbee Reason: 1
I've got a photoresistor that I'm trying to read the value for, but I'm only reading 1023.
Code: [Select]

void setup() {
pinMode(A0, INPUT);
void loop() {
int val = analogRead(A0);

ok. fixed it. No need for help.

Go Up