private async void initSpiDisplay() { // Initialisation de l'affichage await _SpiDisplayDriver.PowerOnSequence(); await _SpiDisplayDriver.Wakeup(); // Colorer l'affichage _SpiDisplayDriver.clearPicture(_lcd); _SpiDisplayDriver.colorPicture(_lcd, 255, 255, 255); // Editer l'affichage _SpiDisplayDriver.makeSquare(_square, 40, 40, 180, 120, 0); _SpiDisplayDriver.makeSquare(_point, 1, 1, 0, 0, 0); _SpiDisplayDriver.editPicture(_lcd, _square, 40, 40, 60, 240); _SpiDisplayDriver.editPicture(_lcd, _square, 40, 40, 120, 240); _SpiDisplayDriver.editPicture(_lcd, _square, 40, 40, 180, 240); _SpiDisplayDriver.editPicture(_lcd, _point, 1, 1, 10, 10); _SpiDisplayDriver.editPicture(_lcd, _point, 1, 1, 11, 11); _SpiDisplayDriver.editPicture(_lcd, _point, 1, 1, 250, 251); _SpiDisplayDriver.DrawPicture(_lcd); //_SpiDisplayDriver.DrawPicture(_justine01); _SpiDisplayDriver.DrawPicture(_maker02); }
private async void InitSpiDisplay() { // Initialisation de l'affichage await _SpiDisplayDriver.PowerOnSequence(); await _SpiDisplayDriver.Wakeup(); // Effacer l'écran _SpiDisplayDriver.ClearScreen(); // Dessin des images _SpiDisplayDriver.DrawPicture20(rpi, 80, 80, 0, 0); _SpiDisplayDriver.DrawPicture20(win, 80, 80, 80, 0); _SpiDisplayDriver.DrawPicture20(maky, 80, 80, 160, 0); _SpiDisplayDriver.DrawPicture20(reveil, 80, 80, 0, 220); }
private async void InitSpiDisplay() { // Initialisation de l'affichage await _SpiDisplayDriver.PowerOnSequence(); await _SpiDisplayDriver.Wakeup(); // Effacer l'écran _SpiDisplayDriver.ClearScreen(); // Dessin des images _SpiDisplayDriver.DrawPicture20(rpi, 80, 80, 0, 0); _SpiDisplayDriver.DrawPicture20(win, 80, 80, 80, 0); _SpiDisplayDriver.DrawPicture20(maky, 80, 80, 160, 0); _SpiDisplayDriver.DrawPicture20(reveil_ko, 80, 80, 0, 190); // Dessin des boutons _SpiDisplayDriver.DrawPicture20(MD, 40, 40, 4, 270); _SpiDisplayDriver.DrawPicture20(HP, 40, 40, 52, 270); _SpiDisplayDriver.DrawPicture20(HM, 40, 40, 100, 270); _SpiDisplayDriver.DrawPicture20(MP, 40, 40, 148, 270); _SpiDisplayDriver.DrawPicture20(MM, 40, 40, 196, 270); }