Closed happysoul closed 8 months ago
Are you using a bootloader with auto reset circuity present (100n capacitor in series)?
Are you using a bootloader with auto reset circuity present (100n capacitor in series)?
Yes, you are. The bootloader has a 1-second timeout, and when you start your python application, the chips are reset by the DTR line and stay in bootloader mode for a second. So the behavior you're seeing is to be expected. Alternatively, you can remove the bootloader
Design in expected. (lll¬ω¬) got it ... Thanks I initially thought this was a bug, atmega8a did not need this 1 second
No worries. Like I mentioned, you can remove the bootloader if that one second is crucial.
arduino code
python code
If remove 'sleep(1)' serial can not run correct. Serial need 1 sec + ,then can used. I used 1 sed, 0.9 sec, 2 sec ....
soft: arduino 1.8.19 with last version MightyCore hard: usb - ch340c - atmega16a