Announcement

Collapse
No announcement yet.

Setting up issues

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting up issues

    I have a µOLED-128-G2 with the arduino shield. Tried on Arduino uno and on mega. I think I have the libraries in the right place. The only example I can find is GodeloxBigDemo. I disconnect the display, keep the shield on.

    I load the GoldeloxBigDemo.ino file.

    On "verify" or "Upload" on the ardunino IDE I get a lot or red warnings. It starts with:
    In file included from C:\Users\...\Goldelox-Serial-Arduino-Library-master\examples\GoldeloxBigDemo\GoldeloxBigDemo.ino:81:0:
    sketch\GoldeloxBigDemo.h:86:63: warning: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF} ;
    ^
    sketch\GoldeloxBigDemo.h:86:63: warning: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]


    then also:
    \Goldelox-Serial-Arduino-Library-master\examples\GoldeloxBigDemo\GoldeloxBigDemo.ino: In function 'void SetThisBaudrate(int)':
    C:\Users\...\Goldelox-Serial-Arduino-Library-master\examples\GoldeloxBigDemo\GoldeloxBigDemo.ino:122:29: warning: overflow in implicit constant conversion [-Woverflow]
    case BAUD_115200 : br = 115200 ;
    ^~~~~~



    Nothing else happens.

    And I am stuck. Has nobody made a step-by-step guide? and/or some simple sketches to work this up for noobs like me?


    Many thanks!
    pcicu





  • #2
    Good day,

    Did you manually added the libraries in the Arduino IDE? Usually when you install Workshop4 IDE, it will be automatically added to the Arduino. For the Serial SPE with Arduino host you can read this application note for more details: https://docs.4dsystems.com.au/app-note/4D-AN-00092. You can also find more examples in our application note page https://docs.4dsystems.com.au/app-notes.

    Best Regards,

    Comment

    Working...
    X