actual .ino snippets scroll under corresponding modules

master
E.zn 5 years ago
parent 354939bee2
commit 368be8154e

@ -539,9 +539,9 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
long start = millis();
long total1 = cs_4_2.capacitiveSensor(30);
long valCons1 = constrain(total1, 10000, 225000);
} </marquee></br>
</div>
@ -553,9 +553,8 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
TCCR2A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0);
TCCR2A &= ~(_BV(COM2B1) | _BV(COM2B0));
} </marquee></br>
</div>
@ -566,9 +565,9 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
TV.set_pixel(x+random(TV.hres()/12),random(z,TV.vres()/4-z),pixel_num);}
if(analogRead(A0)>205 && analogRead(A0)<410){
TV.set_pixel(x+random(TV.hres()/10),random(z,TV.vres()/2.3-z),pixel_num);
} </marquee></br>
</div>
@ -579,9 +578,9 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
Serial.println ("Calib");
TH0 = (adsa.readADC_SingleEnded(0) + 800);
TH1 = (adsa.readADC_SingleEnded(1) + 800);
} </marquee></br>
</div>
@ -592,9 +591,7 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
const uint8_t spI[] PROGMEM = {0xAA,0x8D,0x63,0xA8,0xAA,0x66,0xAD,0xB9,0xA8,0xCB,0x08,0xDD,0x7C,0xFB,0x5B,0xDF,0xFA,0x36,0xB7,0x39,0x6D,0xB5,0xA3,0x15,0xBA,0xF8,0x76,0xBB,0xDF,0xD3,0x
} </marquee></br>
</div>
@ -605,9 +602,11 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
const int sound_length=22418;
const unsigned char sound_data[] PROGMEM= {
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80,
0x81, 0x81, 0x80, 0x80, 0x80,
} </marquee></br>
</div>
@ -640,9 +639,11 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
readCard();
int textnumber;
int text = analogRead(TextKnob);
textnumber = map(text, 1, 1023, 0, 18);
} </marquee></br>
</div>
@ -653,9 +654,12 @@
</a>
</a>
<br><marquee class="code" behavior="scroll" direction="left">{
Serial.begin(9600);
TV.begin(PAL);
TV.select_font(font4x6);
TV.bitmap (0,0,top);
TV.bitmap (0,55,mouthclosed);
TV.delay (500);
TV.bitmap (0,55,mouthopen);
TV.delay (500);
Serial.println ("TVOUT");
} </marquee></br>
</div>

Loading…
Cancel
Save