Monthly Archives: June 2012

How to read serial data from an Arduino in Linux with C: Part 4

Parts one, two, and three dealt with non-canonical reading of serial data coming from an Arduino. Part 4 is how to do it in canonical mode. I programmed the Arduino to wait until it receives a byte from the PC and … Continue reading

Posted in Hobbies, Programming | 14 Comments

Ported fill and stroke Cairo drawing example on Zetcode.com to GTK+3

If you do any searching for Cairo or GTK+ tutorials, you’ll eventually wind up on zetcode.com. I’d be content with only a fraction of this guy’s talent for explaining difficult subject matters with such brevity and clarity. It’s not coincidence … Continue reading

Posted in Hobbies, Programming | 3 Comments

Another way to receive serial data from an Arduino

I stumbled across this: http://stackoverflow.com/questions/7276797/reading-from-an-arduino-tty-with-file?rq=1 I’d very much like to subscribe to that guy’s newsletter.

Posted in Hobbies, Programming | Leave a comment

How to read serial data from an Arduino in Linux with C: Part 3

Preface: Part 1 covered the sketch the Arduino will run for this example, and part 2 covered the resources and other people’s code I used to make sure everything works as expected. In part 3 I’m going to go through … Continue reading

Posted in Hobbies, Programming | 16 Comments

How to read serial data from an Arduino in Linux with C: Part 2

Edit: Part 3 and Part 4 of the writeup. Preface: In Part 1 I covered the Arduino sketch that will output serial data to read on the PC it’s connected to. Next I’ll go over the resources I used to … Continue reading

Posted in Hobbies, Programming | 1 Comment

How to read serial data from an Arduino in Linux with C: Part 1

EDIT: Part 2, Part 3, and Part 4 of the writeup. Preface: I bought an Arduino a few months ago. Many of the projects I want to tackle require that the Arduino send data to a computer through the serial link. … Continue reading

Posted in Hobbies, Programming | 2 Comments