1
0
Fork 0

Arduino: Use 400kHz clock for I²C

The EEPROM in the cartridges support 'Fast I²C' at 400kHz.
Testing it out, it seems to work fine despite the high pull-ups,
so update the Arduino code to enjoy the 4x speed-up !
This commit is contained in:
trotFunky 2023-12-16 14:10:25 +00:00
parent d74928fd64
commit 9e5e55b2f1
2 changed files with 2 additions and 0 deletions

View file

@ -45,6 +45,7 @@ void setup() {
Serial.begin(115200);
pinMode(LED_BUILTIN, OUTPUT);
Wire.begin();
Wire.setClock(400000);
}
void loop() {

View file

@ -33,6 +33,7 @@ void setup() {
Serial.begin(115200);
pinMode(LED_BUILTIN, OUTPUT);
Wire.begin();
Wire.setClock(400000);
}
/*