Changed I2C speed & Versioning
This commit is contained in:
@@ -72,7 +72,6 @@ bool Tuner_WriteBuffer(unsigned char *buf, uint16_t len) {
|
|||||||
Wire.beginTransmission(0x64);
|
Wire.beginTransmission(0x64);
|
||||||
for (uint16_t i = 0; i < len; i++) Wire.write(buf[i]);
|
for (uint16_t i = 0; i < len; i++) Wire.write(buf[i]);
|
||||||
uint8_t r = Wire.endTransmission();
|
uint8_t r = Wire.endTransmission();
|
||||||
delay(2);
|
|
||||||
return (r == 0) ? 1 : 0;
|
return (r == 0) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,6 +172,7 @@ void Tuner_Patch(byte TEF) {
|
|||||||
|
|
||||||
void Tuner_I2C_Init() {
|
void Tuner_I2C_Init() {
|
||||||
Wire.begin();
|
Wire.begin();
|
||||||
|
Wire.setClock(400000);
|
||||||
delay(5);
|
delay(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#ifndef LANGUAGE_H
|
#ifndef LANGUAGE_H
|
||||||
#define LANGUAGE_H
|
#define LANGUAGE_H
|
||||||
|
|
||||||
#define VERSION "v2.11.9"
|
#define VERSION "v2.11.10"
|
||||||
|
|
||||||
// [number of languages][number of texts]
|
// [number of languages][number of texts]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user