Hello, I am trying to learn Arduino and (maybe) make my own robot rigged by some ATmega328. So far I tried a lot of examples from Stater Kit, build Arduino on board (the simple version - chip, crystal, two capacitors and reset button with resistor) and made it run my programs (like blinking LEDs), but I am programming it inside the UNO board, then I remove the chip and put it on breadboard (simple cheat).
Now I would like just attach chip on board to UNO and send the program there directly (my laptop have no serial port, just USB).
I wired the board as in http://arduino.cc/en/Tutorial/ArduinoISP in the last image (down rigth), uploaded sketch ArduinoISP from examples, added LEDS to pins 7,8,9 (programming,error, heartbeat) and it looked OK (after upload or reset all 3 LEDS blinks quickly in row, then heartbeat start cycling dim)
But then I got lost. When I open my sketch, set Tools-programmer-Arduino as ISP and click run, it stops the heartbeat on uno and does nothing interesting. When I unconnect the breadboard and reset it, it run the old program, not the new one.
I am afraid, that I am just uploading my program to uno, not to breadboard. Where should | look, or what should I do different to reprogram the chip on breadboard (not his arduino bootloarder, just his program)?
Thanks for advices