Toto je má konečná verze maturitního projektu
Dependencies: mbed mbed-rtos UTouch_vyrobek UniGraphic
Diff: display.cpp
- Revision:
- 15:807fb15afa61
- Parent:
- 14:5e5fb33ba27e
--- a/display.cpp Sun Feb 27 14:36:40 2022 +0000 +++ b/display.cpp Sun Feb 27 16:25:11 2022 +0000 @@ -3383,12 +3383,11 @@ } main(){ -r.pulsewidth(5); -r.period(0); -g.pulsewidth(5); -g.period(0); -b.pulsewidth(5); -b.period(0); + + r.period_us(1000); + g.period_us(1000); + b.period_us(1000); + spi.set_orientation(3); spi.FastWindow(true); @@ -3402,8 +3401,8 @@ grafika(); //br.period_us(1000); - br.pulsewidth(5); - br.period(0); + br.period_us(1000); + br.write(lcd_jas); Button();