picchick

A utility to aid in programming PIC microcontrollers

#include <Arduino.h>

#include "picchick.h"
#include "icsp_commands.h"
#include "serial_commands.h"

void setup() {
  icsp_reset_pins();
  Serial.begin(9600);
  while (!Serial) {
    ;
  }
}

uint8_t status = STATUS_DISCONNECTED;

void loop() {
  if (Serial.available() > 0) {
    status = handle_command();
  }
}