I am currently working my way through the examples but cant seem to find a particular way of sending data from a PC to the Adrunio which will switch on 8 digital outputs. I would like to be able to send instruction as a Byte from the PC with some sort of identification attached which would be stripped from the data before being transmitted. Ideally I want the unit to serve my project using multiple comm send and receives for data aquisition. reading through some examples i have found that i can read the analogue inputs, send digital outputs and perhaps have DMX output aswell. the DMX would be used to send instructions to an 8CH led dimmer circuit (Hendrik's DMX Dimmer) to provide analogue outputs. any help in this direction would be greatfully appreciated.
Also i keep reading that i cant use pins 4 & 5 as they are dedicated to Serial Comms. Im using the Mega is this still true as i have more than enough pin and I have other magic pins labled 0 & 1 for serial comms. "can i use thes instead until i find the other ones lol" incidently the pin map starts at pin 1 not 0 WHY!, the functions dont even coincide as pin 1 is a PWM pin? very confused, please advise. and no not the famous Microsoft suggestion - Put it back in the box and return it-your to stupid to own a computer. regards Jason