Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: MuIN LCD - delay after command in arduino ?

  1. #11

  2. #12
    When the new firmware will be in upload for downloading ?

    Regards.

  3. #13
    very soon, I just have to prepare package for automatic updating via USB bootloader.

  4. #14
    attached the update to version 2.2.3 of the firmware, solved the problem LCD MuIn excessive delay with Arduino.
    To update the firmware first thing press "BOOTLOADER" button (GUI setup panel), the LCD MuIn autoreset activating the internal bootloader, the display remains off and L1 flashes.
    Launch the program DroidsLoader.exe ", press "OPEN" button and load the file "DR_LCD_v2.2.3.bin ", press "UPDATE" button and wait a few seconds for the end of procedure.
    At the end of the program procedure disconnect the USB cable and connect to power supply, or reconnect the USB, the card start with he new firmware.
    The splash screen will notify you successfully updated to release 2.2.3.
    Attached Files Attached Files

  5. #15
    Thanks.

    1) I have tested new firmware and now all commands work with delay (20) its ok.

    2) When i put delay(40) for clear command and delay(5) for other command is ok.

    3) Command horizontal bar graph it don't work (0xFE, 0x7C) with new firmware.

    void setup()
    {
    Serial2.begin(57600);
    clear();
    graphinit();
    bargraph(1,1,1,25);
    }

    void loop()
    {

    }

    void clear()
    {
    Serial2.print(0xFE, BYTE);
    Serial2.print(0x58, BYTE);
    delay(20);
    }

    void graphinit()
    {
    Serial2.print(0xFE, BYTE);
    Serial2.print(0x68, BYTE);
    delay(20);
    }

    void bargraph(byte col, byte row, byte dir, byte length)
    {
    Serial2.print(0xFE, BYTE);
    Serial2.print(0x7C, BYTE);
    Serial2.print(col, BYTE);
    Serial2.print(row, BYTE);
    Serial2.print(dir, BYTE);
    Serial2.print(length, BYTE);
    delay(20);
    }
    Last edited by andromeda; 04-12-10 at 18:34.

  6. #16
    i can simulate progress bar with ascii code 4

    int i;

    for(i =0; i < 20; i++)
    {
    Serial.print(4);
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •