#define CSYNC_PIN 2
#define CDATA_PIN 3
#include <hardware/pio.h>
static inline void csync_program_init(PIO pio, uint sm, uint offset, float clockdiv, uint sync_pin)
{
}
static inline void cdata_program_init(PIO pio, uint sm, uint offset, float clockdiv, uint data_pin)
{
}
void cvideo_init(PIO pio, uint data_pin, uint sync_pin)
{
float sync_clockdiv = 250.0;
float data_clockdiv = 25.0;
}
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
cvideo_init(pio0, CDATA_PIN, CSYNC_PIN);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1); // this speeds up the simulation
}