We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0786381 commit 23393ebCopy full SHA for 23393eb
1 file changed
3-lightsensor/light.c
@@ -35,7 +35,7 @@ int main(int argc, char **argv)
35
temp[0] = 0xa0; //select the control register
36
bcm2835_i2c_write(temp,1);
37
temp[0] = 0x03; //Power up the device
38
- bcm2835_i2c_write(temp,1);
+ bcm2835_i2c_write(temp,1);
39
bcm2835_delay(500);
40
41
bcm2835_i2c_read(temp,1);
0 commit comments