mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
fix avr uploading
This commit is contained in:
@@ -23,12 +23,17 @@ board_hardware.uart = no_bootloader
|
|||||||
; Brown-out detection
|
; Brown-out detection
|
||||||
board_hardware.bod = 2.7v
|
board_hardware.bod = 2.7v
|
||||||
|
|
||||||
|
; specify fuses because platformio burns wrong ones when uploading
|
||||||
|
board_fuse.lfuse = 0xf7
|
||||||
|
board_fuse.hfuse = 0xd7
|
||||||
|
board_fuse.efuse = 0xfd
|
||||||
|
|
||||||
board_upload.speed = 115200
|
board_upload.speed = 115200
|
||||||
|
|
||||||
monitor_speed = 9600
|
monitor_speed = 9600
|
||||||
|
|
||||||
upload_protocol = stk500
|
upload_protocol = stk500
|
||||||
upload_port = COM3
|
upload_port = COM3
|
||||||
upload_flags =
|
upload_flags = -PCOM3
|
||||||
|
|
||||||
lib_deps = 883 #Servo
|
lib_deps = 883 #Servo
|
||||||
@@ -35,4 +35,4 @@ void Pen::init() {
|
|||||||
|
|
||||||
bool Pen::getEngaged() { return engaged; }
|
bool Pen::getEngaged() { return engaged; }
|
||||||
|
|
||||||
Pen pen(7, 100, 180);
|
Pen pen(7, 100, 175);
|
||||||
|
|||||||
Reference in New Issue
Block a user