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:
Teo-CD 2023-12-15 21:31:34 +00:00
parent 20d1f86fa6
commit 4e11af1da0
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);
}
/*