dataXfer_test.c - Runs unit tests on PIC data transfor protocolΒΆ

 
#include "pic24_all.h"
#include "dataXfer.h"

void runAllTests();

int main(void) {
  configBasic(HELLO_MSG);

  while (1) {
    outString("Press any key to begin tests...");
#ifndef SIM
    inChar();
#endif
    runAllTests();
    outString("\n\nTests complete!\n");
  }
}