7 Segment Display interfacing with STM32
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=_74fpCfT_tA
#ViduraEmbedded #STM32 #STM32CubeIDE • This tutorial code shows how to interface the single digit 7- segment display with STM32 based boards. It uses the LED to count from 9 to 0 and then repeat. If the button is pressed, then the numbers will count up instead of down. • Circuit Wiring information • ========================== • Our 7 Segment display has pins as follows. • -------------------------------------- • -A- • F B • -G- • E C • -D- • -------------------------------------- • By default we are allocating Port A of GPIO 0 to A, 1 to B etc. • So, connect GPIO 0 to pin A on the 7 segment LED display and so on. You will need the appropriate resistors (100-220 ohm should be fine) for each segment. • The LED device used here is common cathod, so the common cathod pin is connected to the GND. • • Connect the switch to connect on pressing. One side should be connected to ground, the other to PC13. (incase of stm32F103 bluepill) • Code: • --------- • https://github.com/viduraembedded/STM... • • Watch All Videos of STM32 Tutorials using below link • • STM32 Tutorials • Channel Playlists on other Microcontrollers: • --------------------------------------------------------------------- • Watch All Videos of Raspberry Pi Pico using below link • • Raspberry Pi Pico • Watch FreeRTOS Tutorials on STM32: • • FreeRTOS Tutorials on STM32 • All videos and tutorials on this channel are for educational purpose only. • ===========================================================================
#############################
