08.01.2013 Aufrufe

Download - Projektlabor

Download - Projektlabor

Download - Projektlabor

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

== 2) && (LCD_DATA3_PIN == 3) )<br />

220: {<br />

221: DDR(LCD_DATA0_PORT) &= 0xF0; /* configure data pins as<br />

input */<br />

222:<br />

223: lcd_e_high();<br />

224: lcd_e_delay();<br />

225: data = PIN(LCD_DATA0_PORT) read instruction from LCD_IO_FUNCTION */<br />

269: /* rs==1 -> read data from LCD_IO_DATA */<br />

270: #endif<br />

271:<br />

272:<br />

273:<br />

/************************************************************************<br />

*<br />

274: loops while lcd is busy, returns address counter<br />

275:<br />

*************************************************************************<br />

/<br />

276: static uint8_t lcd_waitbusy(void)<br />

277:<br />

278: {<br />

279: register uint8_t c;<br />

280:<br />

281: /* wait until busy flag is cleared */<br />

231

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!