Get the SoR Robotics Android App on Android Market for FREE. See this forum post for details.
0 Members and 1 Guest are viewing this topic.
I'm looking to build a four legged robot (I'm new to this, aside from the Internet ) that follows a light, and auto-adjusts for its balance (the centre part, with the board).
I would like to learn C++ for this, but I need to learn it first.
I found a website, www.cprogramming.com, but when I tried to compile it, it didn't work, so I would like to find a tutorial that another person who has tried it and had success.
Also, once this issue is resolved, I would like to find the code that would be necassary to include an 8 axis speedometer [...]
[...] how to develop the code necessary to use LEDs to detect light.
Quote from: Mr. Ninja on May 16, 2012, 03:32:34 PMI would like to learn C++ for this, but I need to learn it first.To start with - C++ concepts will not do any good in microcontroller programming, moreover, I don't think there are C++ compilers for microcontrollers. What You probably want to learn is C. Other reasonable choices might be: ASM and C# (.NET). Currently, C is very popular, widely adopted, plus, You can find many cheap microcontrollers that come with C compiler.
Quote from: Mr. Ninja on May 16, 2012, 03:32:34 PM[...] how to develop the code necessary to use LEDs to detect light.I'm not sure You can do that, as LEDs (Light Emitting Diodes) emit light and don't detect it. What You're looking for is photocell, or photo-diode; take a look at the robot tutorial I linked You to.