Nettoyage de code
This commit is contained in:
parent
8fec829754
commit
eb704397ff
6
IO.hpp
6
IO.hpp
|
@ -39,8 +39,6 @@ class Motor {
|
|||
|
||||
ledcAttachChannel(m_pin, 5000, 12, m_channel);
|
||||
ledcWriteChannel(m_channel, 0);
|
||||
//ledcSetup(m_channel, 5000, 12); // Channel, Frequency, Resolution
|
||||
//ledcAttachPin(m_pin, m_channel); // Attach pin to channel
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -114,9 +112,9 @@ class IO {
|
|||
if(millis() - last_color_change_time > 1000 && has_color_changed)
|
||||
{
|
||||
m_screen.clearDisplay();
|
||||
//m_screen.drawBitmap(38, 0, Res::Imgs::riombotique, 52, 64, WHITE);
|
||||
m_screen.drawBitmap(38, 0, Res::Imgs::riombotique, 52, 64, WHITE);
|
||||
//m_screen.drawBitmap(75, 0, Imgs::poivron_robotique, 52, 64, WHITE);
|
||||
m_screen.drawBitmap(27, 0, Res::Imgs::diable_gaga, 75, 64, WHITE);
|
||||
//m_screen.drawBitmap(27, 0, Res::Imgs::diable_gaga, 75, 64, WHITE);
|
||||
|
||||
has_color_changed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue