$stk500 = qq("c:\\Program Files\\Atmel\\AVR Tools\\STK500\\stk500.exe");
$COMPORT = "USB";
$finalcode = "..\\software\\BRwig.hex";
# Now put in the real bits...
$prog = qq($stk500 -c$COMPORT -I1000000 -dATMEGA168 -if$finalcode -e -pf);
$returncode = (system $prog) >> 8;
