solderparty / i2c_puppet

MIT License
86 stars 46 forks source link

Example code #14

Closed grymoire closed 1 year ago

grymoire commented 2 years ago

The Circuit Python and Arduino code is not in the repository.

The Arduino code on the web page is wrong, BTW.

arturo182 commented 2 years ago

Hi,

I think there is a misunderstanding, the Arduino code is meant to be run on other boards like Arduino or Feather boards to interface the keyboard over I2C. That's why the code is not here.

That's also why the board type is not provided, you select the board type that you're trying to use to interface the keyboard.

And that's why uploading Arduino code to the keyboard won't work, there is no support for Arduino on the keyboard out of the box.

I tested building the examples with Arduino ports for ESP32, RP2040, and SAMD51, all seem to compile fine:

image

grymoire commented 2 years ago

Sorry for my confusion. I was confused because according to Arduino Serial Documentation - there is no Serial.Printf() function.