B4R Question SH1106 LCD Display and ESP2688 Issues

Discussion in 'B4R Questions' started by Cableguy, Apr 29, 2018.

  1. Cableguy

    Cableguy Expert Licensed User

    Hi Guys

    This is my Code:
    Code:
    Sub Process_Globals
        
    Public Serial1 As Serial
        
    Private LCD As AdafruitSH1106  
        
    Private ESP As ESP8266
        
    Public RegistrationStatus As Bool
    End Sub

    Private Sub AppStart
        Serial1.Initialize(
    115200'This is the Hardware Serial used by the IDE for Logging
        LCD.InitializeI2C(40x3c)
    End Sub
    And Here is what it logs:
    Code:
    B4R Version: 2.20
    Parsing code.    (
    0.00s)
    Compiling code.    (
    0.01s)
    Building project    (
    0.11s)
    Compiling & deploying Ino project (WeMos D1 R2 & mini - COM4)    Error
    Loading configuration...
    Initialising packages...
    Preparing boards...
    Verifying...
    E:\B4X\LaserControler\Objects\bin\sketch\Adafruit_SH1106.cpp:
    29:26: fatal error: avr/pgmspace.h: No such file or directory
     
    #include <avr/pgmspace.h>
                              ^
    compilation terminated.
    exit status 1
    This seems to be a Lib problem (as opposed to code).
    The SSD1306 lib does not produce any errors!
    So.... HELP???
     
    Last edited: Apr 29, 2018
  2. Cableguy

    Cableguy Expert Licensed User

Loading...
  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