diyruz / reed

https://io-net.ru/knopka-dvernogo-zvonka-zigbee/
GNU General Public License v3.0
16 stars 12 forks source link

Add the ability to assign an interrupt to different PINS of the same port #9

Open nordeep opened 2 years ago

nordeep commented 2 years ago

Not issue at all. Just looking for help to assign several interrupt PINS of the same port. Simple add to preinclude.h #define HAL_KEY_P0_INPUT_PINS (HAL_KEY_BIT5 | HAL_KEY_BIT6) Causes an interrupt on the port, but it looks like after that going to permanent loop on rise and never goes to sleep. Unfortunately, can't figure out by myself which part of the code needs to also be updated.