- setting the LEDBUILDIN port to output.
@@ -282,9 +282,11 @@ void setup() {
programMode();
}
#ifdef SPS_ENHANCEMENT
+ pinMode(LED_BUILTIN, OUTPUT);
if (digitalRead(SW_SEL) == 0) {
serialPrg();
+
#endif
@@ -28,7 +28,7 @@ void serialPrg() {
char myChar = Serial.read();
if (myChar == 'w') {
// hexfile is comming to programm
- Serial.println("waitin");
+ Serial.println("ready");
addr = 0;
do {
for (byte i = 0; i < 8; i++) {