/*
 * This is a simple example of the multi-mode tv out terminal which pays homage to the title sequence of the tv series "Look Around You"
 *
 * Dave Curran 2013-09-28
 *
 * Arduino Terminal Library - Dave Curran (www.tynemouthsoftware.co.uk)
 * Concept and Microcontroller Firmware - Daryl Rictor, Grant Searle
 *
 * The display microcontroller is wired as follows:
 * pin 28 (SCL) ==> Display pin 28 (SCL)
 * pin 27 (SDA) ==> Display pin 27 (SDA)
 * Arduino Reset ==> Display pin 1 (Reset) - Reset (Optional)
 *
 * The two I2C data lines need to be pulled high to 5V via 2K2 resistors.
 *
 */

#include <Terminal.h>

// Create a terminal in TWI mode
Terminal term;

void setup() {
  // show startup messages
  term.setFont(TERMINAL_FONT_40_BOLD_SINGLE);
  term.printLine("BBC Computer 32K");
  term.sendCRLF();
  term.printLine("Acorn DFS");
  term.sendCRLF();
  term.printLine("BASIC");
  term.sendCRLF();
  term.print(">");

  delay(2000);
  term.printLine("10 PRINT \"LOOK AROUND YOU \";");
  term.print(">");  
  delay(2000);
  term.printLine("20 GOTO 10");
  term.print(">");  
  delay(2000);
  term.printLine("RUN");
}

void loop() {
  term.print("LOOK AROUND YOU ");
  delay(100);
}




