在线时间6 小时
UID102055
ST金币0
蝴蝶豆0
注册时间2015-11-3
初级会员
- 最后登录
- 2018-7-26
|
发表于 2017-2-22 11:22:57
|
显示全部楼层
a0a.1 0b0c
#ifdef USE_STM8L1528_EVAL
/* Set Matrix Pixels ON to display STM on the LCD Glass */
LCD_GLASS_DisplaySTM();
/* Enable the dispaly for the ST Logo */
LCD_GLASS_DisplayLogo(ENABLE);
/* Configure the LCD Battery Level High */
LCD_GLASS_BatteryLevelConfig(BATTERYLEVEL_FULL);
/* Configure the LCD ArrowDirection */
LCD_GLASS_ArrowConfig(ARROWDIRECTION_UP);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_DOWN);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_LEFT);
LCD_GLASS_ArrowConfig(ARROWDIRECTION_RIGHT);
/* Configure the LCD Temperature level */
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_1);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_2);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_3);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_4);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_5);
LCD_GLASS_TemperatureConfig(TEMPERATURELEVEL_6);
/* Configure the LCD ValueUnit */
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MILLIAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_MICROAMPERE);
LCD_GLASS_ValueUnitConfig(VALUEUNIT_NANOAMPERE);
/* Configure the LCD sign */
LCD_GLASS_SignCmd(SIGN_POSITIVE, ENABLE);
LCD_GLASS_SignCmd(SIGN_NEGATIVE, ENABLE);
#endif /* USE_STM8L1528_EVAL */ |
|