Thanks, Oliver
I put the code in my sketch and when i compile it say me:
ProAACon_V115.ino: In function 'void SCRApagaPantalla()':
ProAACon_V115:702: error: 'class U8GLIB_DOGM128' has no member named 'sleepOn'
ProAACon_V115.ino: In function 'void SCREnciendePantalla()':
ProAACon_V115:709: error: 'class U8GLIB_DOGM128' has no member named 'sleepOff'
My functions are:
///////////////////////////////////////////////////////////////
// APAGAMOS LA PANTALLA
///////////////////////////////////////////////////////////////
void SCRApagaPantalla(){
scru8g.sleepOn();
}
///////////////////////////////////////////////////////////////
// ENCENDEMOS LA PANTALLA
///////////////////////////////////////////////////////////////
void SCREnciendePantalla(){
scru8g.sleepOff();
}
All others funtions work fine, why those not?
Thanks again