Hello everyone, hope you're all well. Just had a quick question and hoping for a little bit of guidance as I haven't been able to find any clear information on what Im hoping to do.
I'm fairly new to the arduino world and have only been working on this project for the last 2 weeks or so and doing a heck of a lot of reading and testing. I have some very basic C++ knowledge from several years ago when I did a subject at University.
I have been tinkering with the VGAX library (GitHub - smaffer/vgax: VGA library for Arduino UNO) and have created a simple 2 digit counter which displays on a monitor.
As I understand it, the library uses up all of the timers and hence limits the ability of some libraries as well as some functions. So I ended up using delay to debounce the button (I know against all recommendation) because I couldn't get millis to work.
Anyhow the whole setup works just as expected. However I now wanted the setup to become wireless and have pursued using infrared.
I have carried out the tests and can successfully transmit and read the button signal.
So where I began to run into a problem is that the board had run out of memory and I couldn't implement the IR code for receiving the signal.
So I then cut back and simplified the sketch and managed to integrate the IR into it, but for some reason it doesn't seem to work.
So my question is: Can I use a spare arduino board to receive the IR signal and then connect this board to the other arduino in a way that it will mimic the function of a button being pressed?
I hope that makes sense. Any help would be greatly appreciated and I have added sketches for receiving and sending the ir signal. As well as the current button counter increment sketch and my attempt to include the ir functionality into it.
simpleVGAXdualDigitcounter.ino (10.1 KB)
ButtonSignalSendviaIR.ino (446 Bytes)
ButtonSignalReceiveViaIR.ino (596 Bytes)
VGAXcounterIRattempt.ino (9.9 KB)
