Show Posts
Pages: [1]
1  Topics / Home Automation and Networked Objects / Serial.print() on: September 11, 2011, 03:04:37 pm
Just wondering how one sends a hex value of oxAF out the serial port using the Serial.print() function?  In Vbscript there is a statment chr(&hA0). What would be the equivalent statement for sending this data out the serial port using Serial.print() function? Thanks much.
2  Topics / Home Automation and Networked Objects / Re: Michael Margolis Cookbook Question? on: August 03, 2011, 11:29:19 pm
I am of course not assuming that everyone in the Arduino community has read or has Michael Margolis's Cookbook. I agree this would be a bad assumption and I did not make it. However, Michael Margolis from what I understand is a key player in the Arduino community and it is not a bad assumption to think that someone on this vast forum  would have a copy and have actually read it. In fact I think there might be quite a few people who have read it. If this avenue does not work then I will approach the problem I am trying resolve differently.
3  Topics / Home Automation and Networked Objects / Michael Margolis Cookbook Question? on: August 03, 2011, 06:02:49 pm
Hello,

      I am new to the Arduino community and have been reading several books on the subject. I came across Michael Margolis's great book on the Arduino Hardware and Software. There are many great example sketches in this book to get you on your way to completing your projects. I am also relatively new to the C programming language and C++ in particular. I have a particular question on sketch 15.10 in chapter 15 of his Cookbook. In this sketch he uses buttons on a web page to be able to turn an LED on and off over the internet using the Ethernet Shield. I have an application where I want to control a camera with a pan and tilt mechanism over the internet. Instead of buttons to turn LED's on and off I would like to have buttons on the page (left, right, up and down) that when activated would send serial commands to the camera hooked to a serial port on the Arduino Microcontroller. I was wondering what the modified part of the sketch would look like to accomplish this once I am able to connect the Arduino/Ethernet Shield to the internet successfully? Any help would be much appreciated.

Rick B.
Pages: [1]