/**
   Project template for TV Pong - The final project of the Raspberry Pi Pico (RP2040) Deep Dive Course.

   https://hackaday.io/project/180374-pi-pico-pal-tv-pong

   Good luck!
*/

#include "sync.pio.h"
#include "data.pio.h"

const uint8_t sync_pin = 2;
const uint8_t data_pin = 3;

void setup() {
  auto sync_offset = pio_add_program(pio0, &sync_program);
  sync_program_init(pio0, 0, sync_offset, 1000000, sync_pin);
  auto data_offset = pio_add_program(pio0, &data_program);
  data_program_init(pio0, 1, data_offset, 1000000, data_pin);
  pio_sm_put(pio0, 0, 305); // Lines
  
}

void loop() {
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT