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
648 B
C++
47 lines
648 B
C++
#include <fontALL.h>
|
|
#include <avr/pgmspace.h>
|
|
#include <TVout.h>
|
|
|
|
#include "mouthclosed.h"
|
|
#include "mouthopen.h"
|
|
|
|
int knob1;
|
|
int knob2;
|
|
int knob3;
|
|
|
|
char ciao []= "hello";
|
|
|
|
|
|
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:
|
|
TV.bitmap (0,0,mouthclosed);
|
|
TV.delay (1000);
|
|
TV.bitmap (0,0,mouthopen);
|
|
TV.delay (1000);
|
|
|
|
if (knob2>0 && knob2<500){
|
|
TV.print (70,0,ciao);
|
|
delay (100);
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|