Technical Discussion

stupid mistake

userHead Jan.Jan 2023-05-16 02:01:14 302 Views2 Replies

Hi, any ideas how to solve my stupid issue with malfunctioning code?

I did mistake and programmed arduino on the board in the way, that as soon as it boots it sends command to switch off lattepanda via windows system command.

Is there a way how to flash atmega on desk without powering lattepanda itself?

 

I am using this library :https://github.com/keyboardio/KeyboardioHID

command: System.write(HID_SYSTEM_POWER_DOWN);

and instead of writing to serial port I am writing to keyboard all my comments from code :( 

 

So I am emulating keyboard strokes!

 

So I am not able to go to bios, because arduino is simulating keybord hits.

 

Any Ideas? I am bit stucked.