diff --git a/PiCowbell_HSTX_DVI_Examples/arduino_rp2040_hstx_dvi_cowbell/arduino_rp2040_hstx_dvi_cowbell.ino b/PiCowbell_HSTX_DVI_Examples/arduino_rp2040_hstx_dvi_cowbell/arduino_rp2040_hstx_dvi_cowbell.ino index 49c538823..fd16c0d27 100644 --- a/PiCowbell_HSTX_DVI_Examples/arduino_rp2040_hstx_dvi_cowbell/arduino_rp2040_hstx_dvi_cowbell.ino +++ b/PiCowbell_HSTX_DVI_Examples/arduino_rp2040_hstx_dvi_cowbell/arduino_rp2040_hstx_dvi_cowbell.ino @@ -11,9 +11,9 @@ // Here's how a 320x240 16-bit color framebuffer is declared. Double-buffering // is not an option in 16-bit color mode, just not enough RAM; all drawing // operations are shown as they occur. Second argument is a hardware -// configuration -- examples are written for Adafruit Feather RP2040 DVI, but -// that's easily switched out for boards like the Pimoroni Pico DV (use -// 'pimoroni_demo_hdmi_cfg') or Pico DVI Sock ('pico_sock_cfg'). +// configuration -- this example is written for Adafruit PiCowBell HSTX DVI, +// and Raspberry Pi RP2040, but that's easily switched out for boards +// like the Pimoroni Pico DV (use 'pimoroni_demo_hdmi_cfg') or Pico DVI Sock ('pico_sock_cfg'). DVIGFX16 display(DVI_RES_320x240p60, adafruit_hstxdvibell_cfg); // A 400x240 mode is possible but pushes overclocking even higher than diff --git a/PiCowbell_HSTX_DVI_Examples/arduino_rp2350_hstx_dvi_cowbell/.pico_rp2350.test.only b/PiCowbell_HSTX_DVI_Examples/arduino_rp2350_hstx_dvi_cowbell/.pico_rp2350.test.only deleted file mode 100644 index e69de29bb..000000000 diff --git a/PiCowbell_HSTX_DVI_Examples/arduino_rp2350_hstx_dvi_cowbell/arduino_rp2350_hstx_dvi_cowbell.ino b/PiCowbell_HSTX_DVI_Examples/arduino_rp2350_hstx_dvi_cowbell/arduino_rp2350_hstx_dvi_cowbell.ino deleted file mode 100644 index 95662f365..000000000 --- a/PiCowbell_HSTX_DVI_Examples/arduino_rp2350_hstx_dvi_cowbell/arduino_rp2350_hstx_dvi_cowbell.ino +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-FileCopyrightText: 2024 Michael Bell and Pimoroni Ltd -// -// SPDX-License-Identifier: MIT -// 16-bit Adafruit_GFX-compatible framebuffer for RP2350 HSTX - -#include - -// initialize display with HSTX DVI CowBell pinout -DVHSTX16 display({14, 12, 18, 16}, DVHSTX_RESOLUTION_320x240); - -void setup() { - Serial.begin(115200); - // while(!Serial); - if (!display.begin()) { // Blink LED if insufficient RAM - pinMode(LED_BUILTIN, OUTPUT); - for (;;) - digitalWrite(LED_BUILTIN, (millis() / 500) & 1); - } - Serial.println("display initialized"); -} - -void loop() { - // Draw random lines - display.drawLine(random(display.width()), random(display.height()), - random(display.width()), random(display.height()), - random(65536)); - sleep_ms(1); -}