attiny85

PlatformIO and Attiny85 AVR programming

Ive been using the Arduino IDE to change the speed of the attiny by clicking install bootloader. But finally figured out how to do it in PlatformIO too.

in your platformio.ini place the following

[env:myenv]
platform = atmelavr
framework = arduino
board = attiny85
upload_protocol = stk500v1
upload_flags =
    -P$UPLOAD_PORT
    -b$UPLOAD_SPEED
upload_port = COM12 //REPLACE WITH YOUR COM PORT
upload_speed = 19200
lib_deps =
  # Using a library name

Easy!

Interesting || Helpful?
10

Leave a Reply

Your email address will not be published. Required fields are marked *