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)
Month: July 2019
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)
VPC version 3 released!
Finally! VPC looks decent now. - It comes with a full featured "Clock Setup" window of which settings are reflected in the generated code; - Also provided some blink examples, using various clock sources at various frequencies - all blink examples should toggle the LED at 500ms interval. More examples to come - the old … Continue reading VPC version 3 released!