User avatar
Posts: 379
Joined: Sun Sep 02, 2012 7:01 pm

Raspberry Pi - Photosensors and Arduino...

Sun Feb 03, 2013 7:11 pm


I recently uploaded a new video all about using Photosensors with the Raspberry Pi and Arduino.... GIve it a look here:

Here is the code that I use in the tutorial! Just copy and paste into the Arduino IDE!

Code: Select all

int sensePin = 0;

void setup(){

void loop(){
And that should do the trick!

The Raspberry Pi Guy
Matt, The Raspberry Pi Guy YouTube channel, author of Learn Robotics with Raspberry Pi, available now:, Computer Science & Electronics Undergraduate at The University of Edinburgh

Return to “C/C++”