From 61585b887d164fd861ca23e8357f4c934bb6e06e Mon Sep 17 00:00:00 2001 From: Yves BAZIN Date: Thu, 18 Jan 2024 10:30:13 +0100 Subject: [PATCH] che --- .github/workflows/testcode.yml | 2 +- examples/gettingstarted/gettingstarted.ino | 2 +- examples/panelhardwarescroll/panelhardwarescroll.ino | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testcode.yml b/.github/workflows/testcode.yml index 05b5d0a..9fd6e85 100644 --- a/.github/workflows/testcode.yml +++ b/.github/workflows/testcode.yml @@ -35,7 +35,7 @@ jobs: with: # Set the build folder and file names for esp32-qemu-sim debug: true - qemu-timeout: 999 + qemu-timeout: 100 build-folder: examples/gettingstarted/build partitions-csv: partitions.csv firmware-bin: gettingstarted.ino.bin diff --git a/examples/gettingstarted/gettingstarted.ino b/examples/gettingstarted/gettingstarted.ino index 4457bde..fc1dae9 100644 --- a/examples/gettingstarted/gettingstarted.ino +++ b/examples/gettingstarted/gettingstarted.ino @@ -37,7 +37,7 @@ void loop() { time2=ESP.getCycleCount(); driver.showPixels(); time3=ESP.getCycleCount(); - Serial.printf("Calcul pixel fps:%.2f showPixels fps:%.2f Total fps:%.2f \n",(float)240000000/(time2-time1),(float)240000000/(time3-time2),(float)240000000/(time3-time1)); + ESP_LOGI("test",("Calcul pixel fps:%.2f showPixels fps:%.2f Total fps:%.2f \n",(float)240000000/(time2-time1),(float)240000000/(time3-time2),(float)240000000/(time3-time1)); off++; } diff --git a/examples/panelhardwarescroll/panelhardwarescroll.ino b/examples/panelhardwarescroll/panelhardwarescroll.ino index 4857eac..3b240d4 100644 --- a/examples/panelhardwarescroll/panelhardwarescroll.ino +++ b/examples/panelhardwarescroll/panelhardwarescroll.ino @@ -6,7 +6,7 @@ #define CLOCK_PIN 16 #define LATCH_PIN 26 #define NUM_STRIPS 32 -#define ENABLE_HARDWARE_SCROLL +#define I2S_MAPPING_MODE I2S_MAPPING_MODE_OPTION_SCROLL_MAPPING_SOFTWARE_IN_MEMORY #include "I2SClocklessVirtualLedDriver.h" //here we have 3 colors per pixel uint8_t leds[NUM_STRIPS*NUM_LEDS_PER_STRIP*3];