Announcement

Collapse
No announcement yet.

Only displayed Getting Started Picture

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

  • Only displayed Getting Started Picture

    Click image for larger version

Name:	DSC07551.jpg
Views:	89
Size:	451.0 KB
ID:	71765 Hi
    I uploaded ViSi-Genie Writing to Genie Objects Using an Arduino Host _AD_AN-00018 ¦ Arduino 1.8.12.
    Unfortunately only this picture (see attachment) is shown
    I bought the display uLCD -32PTU with the adapter here:
    https://www.sparkfun.com/products/11741
    I simplified the _AD_AN-00018 and here is the code :

    #include <genieArduino.h>
    Genie genie;
    #define RESETLINE 4

    void setup()
    {
    Serial.begin(9600); // Serial0 @ 200000 (200K) Baud
    genie.Begin(Serial);

    pinMode(RESETLINE,OUTPUT); // Set D4 on Arduino to Output (4D Arduino Adaptor V2 - Display Reset)
    digitalWrite(RESETLINE, 1); // Reset the Display via D4
    delay(100);
    digitalWrite(RESETLINE, 0); // unReset the Display via D4
    delay (10000);

    //Write a string to the Display
    genie.WriteStr(0, GENIE_VERSION);
    delay(2000);
    }

    void loop()
    {
    int i;
    //write to a LED digits
    genie.WriteStr(3, "Leddigits0 at \nvarious states");
    for(i = 0; i<100; i++){
    genie.WriteObject(GENIE_OBJ_LED_DIGITS, 0x00, i);
    delay (100); }
    delay(2000);
    }


    What is the reason that only this picture is shown ???
    Thanks for your help.
    Willy

  • #2
    Hi Willy

    The reason for this is that the display is in the Serial SPE mode which is the default mode using the Serial library. The Arduino code is for Visi-Genie and won't work in the Serial SPE mode.

    To use Visi-Genie you need a 4D programming adapter and also need to open the Visi-Genie project in Workshop 4. or you can carry on using the default Serial mode by using the Picaso-Serial-Arduino-Library and you wouldn't need the programming adapter.

    You can download the Serial SPE library here.

    https://github.com/4dsystems/Picaso-...rduino-Library

    There are also examples you can try in the library. These application notes may also help.

    https://4dsystems.com.au/blog/4d-an-00100/
    https://4dsystems.com.au/blog/4d-an-00124/
    https://4dsystems.com.au/blog/4d-an-00089/
    https://4dsystems.com.au/blog/4d-an-00123/
    https://4dsystems.com.au/blog/4d-an-00092/
    https://4dsystems.com.au/blog/4d-an-00090/

    I hope this helps

    Best regards

    Paul

    Comment


    • #3
      Hi Paul
      Thank you for your quick reply.
      It's so by using the Picaso-Serial-Arduino-Library it works.
      So I'm building my project by using the Serial library.
      Thank you for your help
      Willy

      Comment

      Working...
      X