I know this is a bit old, but for those who are familiar/comfortable with the Arduino development environment, Gordon has written a set of libraries that work very much like the Arduino "wiring" libraries for C and C++. It makes accessing the Pi GPIO pins child's play. For instance, a snippet of code to turn on a light connected to pin 4 might look like:

pinMode(4,OUTPUT);
digitalWrite(4,HIGH);

Lots of other rather nice features patterned on the Arduino libraries.

If you don't know C, it's not a difficult language to learn. C++ on the other hand ...

Jim.

On 07/24/2014 10:16 PM, Ron Frazier (TECHC) wrote:
At this point, I've aquired a Raspberry Pi B+, power supply (5v 2a), usb power cord, hdmi cable, and memory card. I'm supplying keyboard, mouse, and wifi adapter that I already had. I also bought a couple of how to bookazines. I'm into it about $ 120, and for now, I have to save up a while before buying more. For the moment, I'm going to focus on learning how the Pi works, and how the GPIO pins work, and how to attach sensors, buffers, and drivers. I'm also going to work on learning some GO or Ruby programming with the device. While the recommended beginner languages for the device are Python and Scratch, I think I would like the others better based on my reading about their features. Hopefully, I'll actually get to the point where I can drive some coils.

_______________________________________________
tech-chat mailing list
[email protected]
http://lists.linuxmoose.com/mailman/listinfo/tech-chat

Reply via email to