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); }