Chat freely about anything...

User avatar
By OmarPoch
#82499 Hi Team.
I want to sample IR Air Conditioner remote control data into an array, store it into SPIFFS to send the information when it is neccesary.

I want take only 9 ir codes: On, Off, Fan, 3 x Cool and 3 x heat codes. Then I will have 9 files stored.
This codes are strored in startup time.

The problem that I have is the digitalRead() function is some slow to get all the data.
For this, I want to use lower level access to GPIO ussing mapping port access. I have made this with ussing the DDRx PINx registers.

But I can not find samples to use the GPIO access by register in Noremcu / ESP8266.

Can you help me were I can find some data about this ???

Thanks in advance

Omar