Manual
www.nexusrobot.com Robot Kits manual 
  10
{ 
    if (digitalRead(buttonPin) == HIGH) 
 serialWrite('H'); 
 else 
 serialWrite('L'); 
 delay(1000); 
} 
¾ Re-write Arduino bootloader   
If you couldn't load the bootloader via the Arduino IDE with the parallel programmer from the Arduino 
website. Then you can used the following method to Re-write the bootloader on your chip. 
¾  FT232RL BitBang Mode AVR-Writer 
FT232RL is an USB-Serial bridge on an Arduino Dicimila/NG/Duemilanove PCB. It has the function to 
manipulate each signal pin directly. It's called BitBang Mode. 
If we use "avrdude-serjtag" we can burn the bootloader by Diecimila itself. 
This section describe the method on Windows-XP. 
Attention!!! 
If you want use "avrdude-serjtag" on Linux or Mac OS, you must remake ( patch, reconfigure and 
recompile) it. 
There are useful projects. avrdude by FT245R/FT232R(Linux)
 and BitBang Mode AVR-Writer on 
Mac (Translated to English by Google.) These projects made a way to BitBang Mode AVR-Writer on 
Linux and Mac !!! 
Of course, if you use Windows in Vmware on your Linux or Mac OS, you can run 
"avrdude-serjtag(windows version)". 
¾  Modify the Diecimila 
There are four pads written as X3 near FT232RL on a Diecimila PCB. (These pads are connected to the 
control pins of FT232RL.).Remove the solder of these pads and insert a pin-header. And soldering 
it.Connect the pins of X3 and the pins of ICSP by wires. Please see the photograph below. (click to 
enlarge) 










