Hi, I'm having some problems with a project I'm trying to do for school. The tech department needs a very small lighting fixture, basically just a few LEDs in a box, that can be DMX controlled. And it has to be tiny. So I looked to arduino to try and come up with a solution. I found a page on the site with some examples of DMX receiving code, and a way to hook everything up, but I am having trouble understanding everything it is telling me, both in the tutorial page, and the programmer error messages. Before I get into the specifics, let me start off by saying that I know extremely little about programming language. I have done some sketches with the arduino before, and with xbees, but nothing having to do with external Transceiver chips or DMX. The first of my problems is that I don't know how to access the HardwareSerial.cpp file the tutorial wants me to edit. This seems like it should be a simple thing to do, but I don't know my way around the compiler and all its files very well. Second, it talks about swapping a digit used in the register names (USART0, or USART1) it says which one is correct is dependent on the hardware being used. I am thoroughly confused by this as I don't see anything relating to register names in the data sheets of either the arduino or the DMX Transceiver. And last, it also says to set the RE pin on the Transceiver to LOW/GND. I know how to do that on the arduino, but how do I talk to the chip?
The tutorial I am reading from is located here: http://arduino.cc/playground/DMX/Ardmx
Any help would be greatly appreciated!!!
Thanks, Riley Kolus