Added docs and example programs

12 Aug

Added some more general introductory documentation to the site, as well as some simple “getting started with RFX” example sketches. I’ve actually done three versions of the simplest sketch, the “echo server”, to show a simple stepwise transition from programming in RFX using the standard Arduino print function syntax, to the more succinct RFX print library syntax.

Although this is mostly an exercise is “syntactic sugar”, clarity and brevity of expression does have real advantages in writing, reading and maintaining programs, I think. It also makes your code more portable between X:duino platforms.

So if you are curious as to what writing a sketch using RFX for wireless Internet connectivity entails, I recommend looking at echo_server_v1 – v3 as a starting point. You might be surprised how simple it is to get things done compared to programming using the standard Arduino Ethernet library!

I’ll be steadily adding more example sketches to illustrate how to do various specifics things (e.g., send a Tweet or an email, update an Xively feed, etc.)

Feel free to drop me a line using the contact form or email if you have any questions!