B4R Question Trying to use I2C Scanner - no byteconverter.h file

Discussion in 'B4R Questions' started by MikeSW17, Nov 11, 2018.

Similar threads

B4R Tutorial Creating libraries for B4R
B4R Code Snippet I2C Address Scanner
B4R Tutorial Strings and Bytes
Other Initial support for ESP32
B4R Code Snippet JSON Parsing
  1. MikeSW17

    MikeSW17 Member

    Hi, I am very new to B4X. specifically B4R at the moment and experimenting.

    I am trying to compile and run the I2C Scanner from here: https://www.b4x.com/android/forum/threads/i2c-address-scanner.75815/
    I have added rWire library, downloaded byterconverter and copied the .jar & .xml to my Additional Libraries folder.

    When compiling. I get a error 'byteconverter.h' not found. There is no such file on my PC, nor does an internet search offer such a file.

    B4R Version: 2.51
    Parsing code. (0.00s)
    Compiling code. (0.22s)
    Building project (0.74s)
    Compiling & deploying Ino project (Arduino/Genuino Uno - COM4) Error
    Loading configuration...
    Initialising packages...
    Preparing boards...
    In file included from N:\B4X\B4R\Projects\I2C_Scanner\Objects\src\src.ino:1:0:
    B4RDefines.h:27:27: error: ByteConverter.h: No such file or directory
    compilation terminated.
    exit status 1​

    TIA for any help.
  2. MikeSW17

    MikeSW17 Member

    NVM, thanks.... I don't know where I found the info that I needed a ByteConverter additional library, but removing it from my libraries and using the ByteConverter in rRandomAccessFile solved the problem.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice