pic32 spi驱动pmodcls lcd液晶屏(3)
- UID
- 1029342
- 性别
- 男
|
pic32 spi驱动pmodcls lcd液晶屏(3)
main()
{
//u8 value=0;
char *str= "good! "; //{'g','o','o','o','d','!',0};
//init of led and spi
led_init();
spi_init();
//led on
PORTBSET = ((1 << 10)|(1<<11)
);
PmodCLS_sendCmd("[3e "); // Set Backlight on
PmodCLS_DisplyString(str); // sends the string
while(1){
}
}
|
|
|
|
|
|