Use bigger font

This commit is contained in:
Stefan `Sec` Zehl 2011-05-22 17:41:54 +02:00
parent 8d31e6a6d7
commit 7195a17f97
1 changed files with 5 additions and 3 deletions

View File

@ -78,16 +78,17 @@ void module_sec(void) {
ReinvokeISP(); ReinvokeISP();
}; };
dx=DoString(0,20,"LED:"); font = &Font_Ubuntu18pt;
dx=DoString(0,14,"LED:");
#ifdef SEND #ifdef SEND
if(ctr++>trigger/10){ if(ctr++>trigger/10){
ctr=0; ctr=0;
if (gpioGetValue(RB_LED0) == CFG_LED_OFF){ if (gpioGetValue(RB_LED0) == CFG_LED_OFF){
gpioSetValue (RB_LED0, CFG_LED_ON); gpioSetValue (RB_LED0, CFG_LED_ON);
DoString(dx,20,"ON!"); DoString(dx,14,"ON!");
} else { } else {
gpioSetValue (RB_LED0, CFG_LED_OFF); gpioSetValue (RB_LED0, CFG_LED_OFF);
DoString(dx,20,"off"); DoString(dx,14,"off");
}; };
}; };
#else #else
@ -101,6 +102,7 @@ void module_sec(void) {
}; };
#endif #endif
font = &Font_7x8;
results = adcRead(1); results = adcRead(1);
dx=DoString(0,yctr+20,"Voltage:"); dx=DoString(0,yctr+20,"Voltage:");