Tuesday, 27 May 2008

TouchShield: Mac OS X Image Uploading!

In the past, Mac users had to flip over into Windows XP to send their bitmap images to the TouchShield. That was then, and this is now...

because there is a TouchShield bitmap image uploader for Mac OS X!

Thanks to everyone for all your help!

The files are rubyUploader-001.zip and touch-007(mac).zip and are posted on liquidware.org as interim releases for testing. When it's free of bugs, it'll be merged with standard touch core and released as the touch-008 release.

It should even run on other *nix OS's too!

What you'll need,
rubyUploader-001 (rubyUploader-001.zip)
TouchShield Arduino API (touch-007(mac).zip)

The TouchShield code,

COLOR blue = {0,0,255};
COLOR black = {0,0,0};
COLOR white = {255,255,255};

void setup()

void loop()


Upload the above app to the TouchShield.

Then execute,
# ruby rubyUploader.rb -port /dev/tty.usbserialXXXXX

Remember, you need to replace XXXXX with your correct serial port.

rubyUploader takes any 24-bit bmp images that are in the script's directory and sends them all to the TouchShield.

Good luck,

Questions? Leave a comment, or shoot me an email: avrman@gmail.com


Post a Comment