Tagged: button

Matrix keypad on STM32F4 42

Library 32- Matrix keypad on STM32F4

I have about 10 matrix keypads from ebay, like this or this. They are nice, because with 8 pins I can control 16 buttons in matrix way. I made a really simple library to handle pressed button and use it in projects. Library supports long pressed button. This feature works like on PC. You can adjust refresh rate how fast this works. Everything is below. Library Features Interface with 3 x 4 or 4 x 4 matrix keypad Supports long...

All STM32F4 libraries 128

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...

ILI9341 Button library for STM32F4 52

Library 11- Button library for ILI9341 LCD and STMPE811 touch controller on STM32F429 Discovery board

Now we have both, LCD controller and touch controller configured and we can use this. For this purpose i made a library for buttons. This library can draw buttons on LCD and check if touch has been pressed on any enabled button. Library Features Set X and Y location of button Set button’s width and height By default 10 buttons are supported Use labels Custom background image or color Border around button Selectable font Disable/Enable button Selectable color for label,...

STM32F429I-Discovery board 66

Library 02- STM32F429 Discovery GPIO tutorial with onboard leds and button

Your first blinky project works, but you don’t know how? I will explain GPIO (General Purpose Input/Output) CMSIS Library. This library is used to work with physical pins on microcontroller. You can set pins to input or output, put them low (0 volts) or HIGH (3,3 volts), select pull resistors, choose output type and select clock speed.