#include "msp430.h"
#include "HAL_Buttons.h"
#include "HAL_Board.h"
#include "HAL_Dogs102x6.h"
void main(void)
{
uint8_t contrast ;
uint8_t brightness ;
WDTCTL = WDTPW + WDTHOLD; //关闭看门狗
Dogs102x6_init(); //初始化LCD
Dogs102x6_backlightInit(); //背光初始化
contrast = 11;
brightness = 11;
Dogs102x6_setBacklight(brightness); //设置初始背光值
Dogs102x6_setContrast(contrast); //设置初始对比度值
Dogs102x6_clearScreen(); //清屏
Dogs102x6_stringDraw(1, 0, "welcome to shu", DOGS102x6_DRAW_NORMAL);
}