apple1/Controllers drivers/Hi-Res Video Driver Source/examples/BBC_Demo/BBC_Demo.ino

39 lines
941 B
C++

/*
* This is a simple example of the multi-mode tv out terminal which shows an emulation of the BBC Micro Mode 7 startup message
*
* 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(">");
}
void loop() {
}