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.

82 lines
1.7 KiB
Arduino

5 years ago
#include <fontALL.h>
#include <TVout.h>
char eye []= "eye(o)";
char language []= "language°)";
char ear []= "ear)";
char intensity []= "intensity!";
char feeeling []= "feeling<3";
char book []= "book[][]";
char equal []= "equal#";
char moon []= "moon))";
char water []= "water ~";
char blissy []= "Charles K. Bliss (1897-1985) says";
int knob1;
int knob2;
int knob3;
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);
knob1 = analogRead(1);
knob2 = analogRead(2);
knob3 = analogRead(3);
if (knob1<100 && knob2< 100 && knob3 <100){
TV.fill (1);
delay (3000);
}
else if(knob2> 250 && knob2 <700){
TV.select_font(font8x8ext);
TV.println (0,0,blissy);
delay (100);
}
else if (knob2>700){
TV.select_font(font8x8);
TV.print(eye);
delay (1000);
TV.select_font(font4x6);
TV.print(eye);
delay (500);
}
else if(knob1>500 && knob2==0){
TV.clear_screen ();
TV.delay (500);
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);
}
}