From 8bce2e1b5c812201d38a0bcb916f8cb1027a84ce Mon Sep 17 00:00:00 2001 From: Liz Date: Mon, 9 Sep 2024 15:35:47 -0400 Subject: [PATCH 1/2] adding test onlys as workarounds Adding test onlys as a patch for espressif bsp rc and error from picodvi library --- ...feather_rp2040.test.only => ...feather_rp2040.test.only} | 0 .../.none.test.only | 0 .../Arduino/Cheekmate/...qtpy_esp32s2.test.only | 0 .../Arduino/Cheekmate/.none.test.only | 0 .../...feather_rp2040.test.only | 0 .../Feather_DVI_Arduino_Video_Synth/.none.test.only | 0 .../Feather_DVI_Arduino_Video_Synth.ino | 6 +++--- .../...qtpy_esp32s2.test.only | 0 .../adafruitIO_iotButtonNeoPixelBFF/.none.test.only | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename 16bit_hello_picowbell_dvi/{.feather_rp2040.test.only => ...feather_rp2040.test.only} (100%) rename Cheekmate/Arduino/Cheekmate/.qtpy_esp32s2.test.only => 16bit_hello_picowbell_dvi/.none.test.only (100%) rename Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.feather_rp2040.test.only => Cheekmate/Arduino/Cheekmate/...qtpy_esp32s2.test.only (100%) rename IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.qtpy_esp32s2.test.only => Cheekmate/Arduino/Cheekmate/.none.test.only (100%) create mode 100644 Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only create mode 100644 Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.none.test.only create mode 100644 IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only create mode 100644 IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.none.test.only diff --git a/16bit_hello_picowbell_dvi/.feather_rp2040.test.only b/16bit_hello_picowbell_dvi/...feather_rp2040.test.only similarity index 100% rename from 16bit_hello_picowbell_dvi/.feather_rp2040.test.only rename to 16bit_hello_picowbell_dvi/...feather_rp2040.test.only diff --git a/Cheekmate/Arduino/Cheekmate/.qtpy_esp32s2.test.only b/16bit_hello_picowbell_dvi/.none.test.only similarity index 100% rename from Cheekmate/Arduino/Cheekmate/.qtpy_esp32s2.test.only rename to 16bit_hello_picowbell_dvi/.none.test.only diff --git a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.feather_rp2040.test.only b/Cheekmate/Arduino/Cheekmate/...qtpy_esp32s2.test.only similarity index 100% rename from Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.feather_rp2040.test.only rename to Cheekmate/Arduino/Cheekmate/...qtpy_esp32s2.test.only diff --git a/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.qtpy_esp32s2.test.only b/Cheekmate/Arduino/Cheekmate/.none.test.only similarity index 100% rename from IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.qtpy_esp32s2.test.only rename to Cheekmate/Arduino/Cheekmate/.none.test.only diff --git a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only b/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.none.test.only b/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/.none.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth.ino b/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth.ino index 4bf18c98c..c89f07634 100644 --- a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth.ino +++ b/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth.ino @@ -681,7 +681,7 @@ void make_triangle(uint16_t x1, uint16_t y1, uint16_t side_1, uint16_t side_2,ui } int analog_map(int x, int minMap, int maxMap) { - int z = analogRead(x); + long unsigned int z = analogRead(x); z = map(z, 0, 1023, minMap, maxMap); return z; } @@ -726,7 +726,7 @@ void draw_gradient(int x, int y, int w, int h) { } } -void millisDelay(int delayTime){ - int start_time = millis(); +void millisDelay(long unsigned int delayTime){ + long unsigned int start_time = millis(); while ( millis() - start_time < delayTime) ; } diff --git a/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only b/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.none.test.only b/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/.none.test.only new file mode 100644 index 000000000..e69de29bb From c181cb221dc078f3f81a9aee52200099636279da Mon Sep 17 00:00:00 2001 From: Liz Date: Mon, 9 Sep 2024 15:42:21 -0400 Subject: [PATCH 2/2] remove old test onlys --- 16bit_hello_picowbell_dvi/...feather_rp2040.test.only | 0 .../Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only | 0 .../adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only | 0 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 16bit_hello_picowbell_dvi/...feather_rp2040.test.only delete mode 100644 Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only delete mode 100644 IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only diff --git a/16bit_hello_picowbell_dvi/...feather_rp2040.test.only b/16bit_hello_picowbell_dvi/...feather_rp2040.test.only deleted file mode 100644 index e69de29bb..000000000 diff --git a/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only b/Feather_DVI_Arduino_Video_Synth/Feather_DVI_Arduino_Video_Synth/...feather_rp2040.test.only deleted file mode 100644 index e69de29bb..000000000 diff --git a/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only b/IoT_Button_BFF_Examples/adafruitIO_iotButtonNeoPixelBFF/...qtpy_esp32s2.test.only deleted file mode 100644 index e69de29bb..000000000