/***************************************************************************\ * * * propeller2.h Spin2Cpp test from VGA_Simple1a.Spin2 * * * * * \***************************************************************************/ #include #include #include //These 2 created by Spin2Cpp: #include "VGA_Simple1a.h" #include "VGA_Simple1a.c" //Note: Need to change coginit to _cogstart_PASM at end of this file void main() { VGA_Simple1a VGA; //need to add this when .spin2 file has a var section uint32_t sysfreq = _clockfreq(); VGA_Simple1a_Start(&VGA); // just indicate we are still running for(;;) { printf(".\n"); _waitx(sysfreq); } }