Tuesday, October 30, 2012

DevFest West at Google

On the 20th I gave a talk at DevFest West at the Google campus giving an introduction to Arduino which I had fun giving.  There were a few requests for the slides I used so I've put them up here.  They were mainly just for reference at a few points during the talk but enjoy!

Thursday, September 20, 2012

Tips for Arduino as a USB mouse or keyboard

For those of you starting to use the newer Arduino as a USB mouse or keyboard (or those that have been using the great Teensy microcontroller) here is a quick tip on your programs.  In your setup() add a safety delay of a few seconds so that in does not immediately start when you plug it in.  The reason for this is that if you want to reprogram it (a very likely occurrence) you do not want the microcontroller taking control and potentially closing your program or rewriting it before you can even upload the new one.  

Tuesday, August 07, 2012

Processing and Android

I've been playing around with using Processing on Android and found (at least on my LG-G2X) that the P3D (OpenGL) rendered graphics is much faster than just leaving it at the default.  Realized this when I saw that the 3d graphics sketches were running much faster than the 2d sketches, but you can still use P3D for 2d sketches and get the speed improvements.

The magic line to have in your void setup(){
size(480, 800, P3D);
}

Monday, July 02, 2012

Arduino Tabs: Your Friend

The tabs in the Arduino IDE are an underused feature that more people should take advantage of.  You can think of them as just grouping functions or a single function on another page so you don't have to scroll through a giant document to get to the area you are working on.  When the program complies it just rejoins it all together (just be careful with global variables and definitions and stick them in the main tab).  The more people use them maybe the more features we will also get (I'm looking at you find that only finds in one tab, where is your option for search all?)

Monday, March 12, 2012

Terminal Programs for Arduino

I was needing a better serial monitor for my Arduino programs while using Mac OSX and after reading some reviews found CoolTerm and I'm liking it for it's ease of use and the functions I was needing (raw transmit).