IRRECORD.

Hello, Happy Christmas.
I am trying to make a Device I found online (not for cheating I might add)

I have copied the code from a library from KEN

I am using a (I think a copy) micro leanardo

The trouble I am having is the code will not compile as I assume it was written for a different device but I am not experienced enough to sort through.

also it mentions pins that are not on the device so are these able to be changed?

I have attached the code and Error as it was too long to post here

Thank in advance for your help

Tom

Arduino Code.doc (35 KB)

Arduino Error.doc (68 KB)

You have not attached anything.

oh dear, lets try that again.
I have added it to the original post

Thank you

Tom

Please repost it as a plain text file, not a doc.

Please find attached the plain txt files

Arduino Error.txt (38.8 KB)

Arduino Code.txt (5.14 KB)

I compiled the same sketch for the same board (Arduino Leonardo) using the same library version (IRremote 2.2.3) with the same IDE version (1.8.5) and there are no errors.

I know there have been problems putting the sketchbook folder in OneDrive. Try this:

  • File > Preferences > Sketchbook location > set the sketchbook location to anywhere convenient as long as it is not under OneDrive > OK. Note that when you change your sketchbook location your will no longer find the sketches in the former location under File > Sketchbook (though you can still open them via File > Open) and you will not longer be able to use the libraries you formerly installed. You can always set the sketchbook location back to the previous setting (C:\Users\taylo\OneDrive\Documents\Arduino) to revert this change later.
  • Sketch > Include Library > Manage libraries
  • Wait for download to finish
  • In the "Filter your search..." input field, type "irremote"
  • Select the IRremote by shirriff item from the results.
  • Click "Install"
  • Wait for the installation to finish.
  • Click "Close"
  • File > Examples > IRremote > IRrecord
  • Sketch > Verify/Compile