Set bus clock for u8g2 to 100kHz for increased stability.

Changed SenseAir CO2 request code to 0X04 ...
This commit is contained in:
Achim
2023-02-22 08:37:56 +07:00
parent 253d8a6810
commit 9722eda5fa
7 changed files with 11 additions and 61 deletions

View File

@ -78,7 +78,7 @@ long val;
void setup()
{
Serial.begin(115200);
u8g2.setBusClock(100000);
u8g2.begin();
updateOLED();

View File

@ -78,7 +78,7 @@ int hum = 0;
void setup()
{
Serial.begin(115200);
u8g2.setBusClock(100000);
u8g2.begin();
updateOLED();

View File

@ -117,6 +117,7 @@ unsigned long releasedTime = 0;
void setup() {
Serial.begin(115200);
Serial.println("Hello");
u8g2.setBusClock(100000);
u8g2.begin();
//u8g2.setDisplayRotation(U8G2_R0);

View File

@ -97,7 +97,7 @@ int hum = 0;
void setup()
{
Serial.begin(115200);
u8g2.setBusClock(100000);
u8g2.begin();
updateOLED();

View File

@ -91,7 +91,7 @@ int hum = 0;
void setup()
{
Serial.begin(115200);
u8g2.setBusClock(100000);
u8g2.begin();
updateOLED();

View File

@ -87,7 +87,7 @@ int hum = 0;
void setup()
{
Serial.begin(115200);
u8g2.setBusClock(100000);
u8g2.begin();
updateOLED();