Name of the project l152_lcd4_hello Description The project will display text and numbers on a 2x16 alphanumeric LCD. Code snippet (initial code, project structure and VSCode files generated by VPC) uint8_t s[6]; const uint8_t sr[] = "Hello World!"; int main(void){ /* local variables */ uint8_t i = 0; uint8_t counter = 0; /* mandatory system … Continue reading LCD4 Hello World example (L152)
Projects
User button example (L152)
Name of the project l152_user_button Description Based on an ST.Microelectronics example, the application change the blinking frequency of the LED when pressing the user button (blue) on the Nucleo-L152RE board. Code snippet (initial code, project structure and VSCode files generated by VPC): uint8_t speed = 0; void EXTI15_10_IRQHandler(void){ // Here would be the B1 pin … Continue reading User button example (L152)