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
  1. Home
  2. Feature Requests
  3. Mysensors on AT90USB1286

Mysensors on AT90USB1286

Scheduled Pinned Locked Moved Feature Requests
1 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Stefano Ariel BonviniS Offline
    Stefano Ariel BonviniS Offline
    Stefano Ariel Bonvini
    wrote on last edited by
    #1

    Hello, I tried to port the library on a AT90USB1286 MCU but I can't compile.
    Any hint on what is wrong?

    Error messages are related to RFM69 which I don't use, got any workaround?

    In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\iousb1286.h:38:0,

                 from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:192,
    
                 from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
    
                 from C:\Users\asus\Documents\Arduino\hardware\Industruino\avr\cores\Industruino/Arduino.h:8,
    
                 from C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:34,
    
                 from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26,
    
                 from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:41: error: expected ',' or '...' before numeric constant

     bool initialize(byte freqBand, byte ID, byte networkID=1);
    
                                         ^
    

    In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26:0,

                 from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:82:62: error: 'RF69_IRQ_PIN' was not declared in this scope

     RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
    
                                                              ^
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:82:116: error: 'RF69_IRQ_NUM' was not declared in this scope

     RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
    
                                                                                                                    ^
    

    In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:0:

    C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:33:145: error: 'RF69_IRQ_PIN' was not declared in this scope

    MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);

                                                                                                                                                 ^
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:33:202: error: 'RF69_IRQ_NUM' was not declared in this scope

    MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);

                                                                                                                                                                                                          ^
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp: In member function 'virtual bool MyTransportRFM69::init()':

    C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:34:50: error: no matching function for call to 'RFM69::initialize(uint8_t&, uint8_t&, uint8_t&)'

    radio.initialize(_freqBand, _address, _networkId);

                                                  ^
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:34:50: note: candidate is:

    In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26:0,

                 from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:10: note: bool RFM69::initialize(byte, byte)

     bool initialize(byte freqBand, byte ID, byte networkID=1);
    
          ^
    

    C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:10: note: candidate expects 2 arguments, 3 provided

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    74

    Online

    12.1k

    Users

    11.2k

    Topics

    113.4k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

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