stm8 IRlib for sending IR codes?

Post Reply
l8gravely
Posts: 1
Joined: Sun Jan 05, 2020 4:07 am

stm8 IRlib for sending IR codes?

Post by l8gravely »

Hi all,
I'm working with some STM8 BluePill boards and looking for a library to send IR codes, just so I don't have to reinvent the wheel here. I've used the IRLib2 in the past on Adafruit Gemmas and Trinkets, but was hoping to find something equivilient for them STM8/STM32 based boards as well.

Thanks!
John
User avatar
fpiSTM
Posts: 1745
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: stm8 IRlib for sending IR codes?

Post by fpiSTM »

Hi and welcome,

sorry forgot to answer.

For STM8, I'm not aware of a library for this. If you use sduino then you will have to convert a library in C.
There is a https://github.com/stm32duino/Arduino_Core_STM8 which is able to compile C++ for STM8 (windows Only).
Anyway I think this will not work as there is no variant for STM8 BP, I even not know it exists...
ag123
Posts: 1656
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: stm8 IRlib for sending IR codes?

Post by ag123 »

try using the stm32f103 e.g the various pill boards. i think the stm32f103 uart can even do irda (SIR). my guess is some additional circuits are needed, but i'm not too sure how.
Post Reply

Return to “Let us know a bit about you and your projects”