IRMP-org / IRMP

Infrared Multi Protocol Decoder
GNU General Public License v3.0
273 stars 44 forks source link

stm32 support #3

Closed clear-sky closed 4 years ago

clear-sky commented 4 years ago

hi i have a stm32 board based on stm32f103ret6 my arduino core is https://github.com/stm32duino/Arduino_Core_STM32 i tested SimpleReceiver.ino but i have some problems i have connected ir sensor output to pin A0

define IRMP_INPUT_PIN PA0

but serial concole says me 12:21:13.816 -> Ready to receive IR signals at pin 35 i pressed some keys on nec and also rc5 remote but can not see anything in serial console

also tried #define IRMP_INPUT_PIN A0 and also

define IRMP_PORT_LETTER A

define IRMP_BIT_NUMBER 0

but no success please help

clear-sky commented 4 years ago

sorry sir this lib is perfect!! much better than IRremote i forgot to test Interrupt.ino everything works ok!