عکس nimaltd
Matrix KeyPad Library for stm32 HAL C
موضوع‌ها
۰
فورک‌ها
۷
ستاره‌ها
۳۹
تاریخ ایجاد
۳ تیر ۱۳۹۷
آخرین بروزرسانی
۵ ماه قبل
لایسنس
GNU General Public License v3.0

Matrix Keypad library

ko-fi

I hope use it and enjoy.
I use Stm32f103vc and Keil Compiler and Stm32CubeMX wizard.
Please Do This ...

  1. Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
  2. Select your Column Pins as pushpull output and Row Pins as pullup input.
  3. Config your KeyPadConfig.h.
  4. Call KeyPad_Init() function after sturtup.
  5. You can use read keyPad with KeyPad_WaitForKey(timeout) function.
  6. if Timeout==0, Wait forever to pressed a key.
  7. Returned value : 0x0101,0x0201,0x0401,0x0102 and ... .High Byte is Row value,Low Byte is Column Value.