ok, so for those who have read loads of my previous posts, I am kind off a noob at brickPi. I am going to explain a project I am working on, and some problems I am having with it. I am trying to make goal-line technology, in which I decided to use BrickPi to program it. I am trying to use the NXT light sensors, to sense when the goal goes in, and then the LED’s will flash. The competition I am entering is in 6 days, and I am sturggling with the programming aspect of things. i run the command, sudo python LEGO-Color_Sensor_Test.py the plugged in sensor on Port 1 turns on. But on the screen it just repetitivly spams,
black
black
black
black
now i know I am rather a noob, but when I trype sudo python LED.py the LED’s work a treat. When i have programmed the light sensor to sense the colour, I need to put the projects together.
i am very sorry that I couldn’t do this myself, if anyone has any questions, or answers, please, please reply
Sam