You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
961 B
C++
47 lines
961 B
C++
|
|
#include <fontALL.h>
|
|
#include <TVout.h>
|
|
#include "eye.h"
|
|
|
|
#define KNOB1 (0);
|
|
#define KNOB2 (1);
|
|
#define KNOB (2);
|
|
|
|
TVout TV;
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
pinMode(13, OUTPUT);
|
|
Serial.println(TV.vres());
|
|
Serial.println(TV.hres());
|
|
TV.begin(PAL,120,96);
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
//intro1-before receiving signals
|
|
TV.select_font(font8x8);
|
|
TV.println(0,0,"other symbols ʍ ; w; ɥ ; ʜ; ʢ; ɕ; ʑ; ɺ ; ɧ.");
|
|
TV.delay(1000);
|
|
TV.select_font(font8x8);
|
|
TV.println(0,60,"affricates t͡s ; t͡ʃ; t͡ɕ; ʈ͡ʂ; d͡z; d͡ʒ; d͡ʑ; ɖ͡ʐ.");
|
|
TV.delay(1000);
|
|
TV.select_font(font4x6);
|
|
TV.println (30,60,"IPA means INTERNATIONAL PHONETIC CHART");
|
|
TV.delay(500);
|
|
TV.invert();
|
|
TV.delay(500);
|
|
TV.shift(60,40);
|
|
TV.print_char(0,0,eye);
|
|
|
|
if(analogRead(A1)>0 && analogRead(A1)<1023){
|
|
TV.print_char(0,0,eye);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|