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
S

s3bb0

@s3bb0
About
Posts
9
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • change pin 12 assignment
    S s3bb0

    thank you all, but its still the problem.

    i deleted everything, even the temporary files.
    i installed everything (arduinoIDE + mysensors 1.5). everythin works until i comment the softSPI in.
    then it reports: the DigitalIO.h error-.
    Arduino: 1.6.5 (Mac OS X), Platine: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"

    Verwende die Bibliothek SPI im Ordner: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
    Verwende die Bibliothek MySensors im Ordner: /Users/-------/ArduinoNEW/libraries/MySensors (legacy)

    /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10605 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI -I/Users/----/ArduinoNEW/libraries/MySensors /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build8452403048590699508.tmp/LightSensor.cpp -o /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build8452403048590699508.tmp/LightSensor.cpp.o
    In file included from /Users/-----/ArduinoNEW/libraries/MySensors/MyTransportNRF24.h:26:0,
    from /Users/----/ArduinoNEW/libraries/MySensors/MySensor.h:28,
    from LightSensor.ino:30:
    /Users/----/ArduinoNEW/libraries/MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
    #include <DigitalIO.h>
    ^
    compilation terminated.
    Fehler beim Kompilieren.

    then i checked /Users/----/ArduinoNEW/libraries/ AND
    /Users/----/ArduinoNEW/libraries/DigitalIO/
    for the DigitalIO.h ==> IN BOTH EXISTS DigitalIO.h because i copied it for testing.

    that is so strange ... :(

    Development

  • change pin 12 assignment
    S s3bb0

    i tried to change it in MyConfig.h and installed 1.5 and even 1.4 again but still errors....

    var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/PinIO.cpp.o: In function PinIO::begin(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/PinIO.cpp:43: multiple definition of PinIO::begin(unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/PinIO.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/PinIO.cpp:43: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/PinIO.cpp.o: In function PinIO::begin(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/PinIO.cpp:43: multiple definition of PinIO::PinIO(unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/PinIO.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/PinIO.cpp:43: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/PinIO.cpp.o: In function PinIO::begin(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/PinIO.cpp:43: multiple definition of PinIO::PinIO(unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/PinIO.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/PinIO.cpp:43: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/PinIO.cpp.o: In function PinIO::begin(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/PinIO.cpp:43: multiple definition of PinIO::config(bool, bool)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/PinIO.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/PinIO.cpp:43: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::read(unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.cpp:160: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::start()'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::stop()'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::write(unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of I2cMasterBase::transferContinue(void*, unsigned int, unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of I2cMasterBase::transfer(unsigned char, void*, unsigned int, unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::begin(unsigned char, unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::SoftI2cMaster(unsigned char, unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/utility/SoftI2cMaster.cpp.o: In function SoftI2cMaster::read(unsigned char)': /Users/..../Documents/Arduino/libraries/MySensors/utility/SoftI2cMaster.cpp:160: multiple definition of SoftI2cMaster::SoftI2cMaster(unsigned char, unsigned char)'
    /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build4313290786347724905.tmp/MySensors/SoftI2cMaster.cpp.o:/Users/..../Documents/Arduino/libraries/MySensors/SoftI2cMaster.h:136: first defined here
    collect2: error: ld returned 1 exit status
    Fehler beim Kompilieren.

    Development

  • change pin 12 assignment
    S s3bb0

    ah ok, now i understand this :)

    ok, how can i use softspi and deaktivate the HWSPI ?

    as a said , commenting in the line for softspi results in an error

    Development

  • change pin 12 assignment
    S s3bb0

    first 1.4 but now i tried 1.5.

    Development

  • change pin 12 assignment
    S s3bb0

    in pins_arduino.h i found the pin 12 but changeing it brings no result.

    thanks @Sparkman ok but if i try this to comment that part in, i get a error on compiling:

    Arduino: 1.6.4 (Mac OS X), Platine: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"

    Verwende die Bibliothek SPI im Ordner: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
    Verwende die Bibliothek MySensors im Ordner: /Users/..../Documents/Arduino/libraries/MySensors (legacy)

    /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10604 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/eightanaloginputs -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI -I/Users//Documents/Arduino/libraries/MySensors /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build3964050026628109026.tmp/final_AnalogSoilMoistSensor.cpp -o /var/folders/ts/_xf3xpf1769419gyjrkmv7yc0000gn/T/build3964050026628109026.tmp/final_AnalogSoilMoistSensor.cpp.o
    In file included from /Users/
    /Documents/Arduino/libraries/MySensors/MyTransportNRF24.h:26:0,
    from /Users//Documents/Arduino/libraries/MySensors/MySensor.h:28,
    from final_AnalogSoilMoistSensor.ino:2:
    /Users/
    /Documents/Arduino/libraries/MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
    #include <DigitalIO.h>
    ^
    compilation terminated.
    Fehler beim Kompilieren.

    Development

  • change pin 12 assignment
    S s3bb0

    thank you, but where is the original pin 12 assignment ?
    i don´t want to use softspi, just change the default pin12 to pin 5

    Development

  • change pin 12 assignment
    S s3bb0

    thank you verry much,
    i´m asking for a sensordevice.

    im already using other sensor devices with pin12 (default-sketches).
    now i was searching for a code where is pin 12 assigned, but i couldn´t find it.

    do you know where pin 12 is assigned?

    Development

  • change pin 12 assignment
    S s3bb0

    hello,
    i use a pro mini and the nrf24+.
    my pin12 is broken, so i want to set it to pin5, but i can´t find the pin assignment for this.
    i found in nrf24_con.h:
    const uint8_t SOFT_SPI_MISO_PIN = 16;
    but initial it should be 12, so i´m confused.

    can anybody help me please?

    Development
  • Login

  • Don't have an account? Register

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