Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
B

bollarcreets

@bollarcreets
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 Infrared Sender and Receiver
    B bollarcreets

    @mfalkvidd thanks, that change is all that's needed I think. Thanks to you and @evb for the prompt help!

    Announcements

  • 💬 Infrared Sender and Receiver
    B bollarcreets

    @evb said in 💬 Infrared Sender and Receiver:

    If you take library version 2.2.3, the script will compile.

    That does indeed work - thanks!

    What's the best way to get the tutorial edited to include this information?

    Announcements

  • 💬 Infrared Sender and Receiver
    B bollarcreets

    Following (I think) the instructions to the letter:

    • Using a Pro Mini
    • Installed the IRremote library (current version through Arduino Libraries Manager: 2.8.0)
    • Copied exactly the sample code

    When I come to compile, I get the following error:

    /home/pc/Arduino/IrSensor/IrSensor.ino: In function 'void sendRCCode(byte)':
    IrSensor:361:32: error: 'AIWA_RC_T501' was not declared in this scope
         else if (pIr->code.type == AIWA_RC_T501) {
                                    ^~~~~~~~~~~~
    IrSensor:362:15: error: 'class IRsend' has no member named 'sendAiwaRCT501'; did you mean 'sendRC5'?
            irsend.sendAiwaRCT501(pIr->code.value);
                   ^~~~~~~~~~~~~~
                   sendRC5
    IrSensor:364:83: error: 'MITSUBISHI' was not declared in this scope
         else if (pIr->code.type == LG || pIr->code.type == SANYO || pIr->code.type == MITSUBISHI) {
                                                                                       ^~~~~~~~~~
    /home/adams-pc/Arduino/IrSensor/IrSensor.ino: In function 'void dump(decode_results*)':
    IrSensor:419:43: error: 'USECPERTICK' was not declared in this scope
               Serial.print(results->rawbuf[i]*USECPERTICK, DEC);
                                               ^~~~~~~~~~~
    IrSensor:422:49: error: 'USECPERTICK' was not declared in this scope
               Serial.print(-(int)results->rawbuf[i]*USECPERTICK, DEC);
                                                     ^~~~~~~~~~~
    exit status 1
    'AIWA_RC_T501' was not declared in this scope
    

    Am I missing something?

    Announcements
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular