Announcement

Collapse
No announcement yet.

PIC - uLCD-32PT(GFX) serial data

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

  • dasgrundprinzip
    replied


    Thanks Kaddrison,
    but I think I'll try the LCD in SGC-mode. I'm writing a library for the arduino currently.

    Leave a comment:


  • kaddrison
    replied


    have a look at this thread it may give you a start

    Leave a comment:


  • dasgrundprinzip
    replied


    Firsly I only want to send strings like this "12.456 s" or "11:22:33"
    It's like a frequncy counter and I want to display all the values (frequency in cycles per minute, periode time in hh:mms, min, max avg, counter ...).

    I though it would be possible with "com_Init" and a qualifier.
    E.g. the qualifier is 'A': The arduino sends something like this "A00:03:48" and in the display I got a string (A) with "00:03:48".

    Leave a comment:


  • kaddrison
    replied


    what type of values are you sending ?

    Can you give an example?

    Leave a comment:


  • dasgrundprinzip
    replied


    Hi Salvatore,
    I'm trying something similar. I only use an arduino. I'd like to receive serial data from the arduino and store this information in different variables in the display to print them on screen. I'v played with the "comcheck" example, but I wasn't able to store the data in different variables.
    Did you get something to work ... maybe some code snippets?
    I've also tested teh display in SGC-Mode. Not really convincing but currently the only solution.
    Benjamin

    Leave a comment:


  • Salvatore
    started a topic PIC - uLCD-32PT(GFX) serial data

    PIC - uLCD-32PT(GFX) serial data

    Hello Everybody,
    my device is the uLCD-32PT(GFX) 3.2".

    I have this problem:
    I want to interface the display with a microcontroller (PIC18F or similar) and I want to send different signals (pressure, temperature, ecc) by using serial port and show these signals.
    For one sensor (on PIC) I use this code:

    while(1)
    {
    Delay10KTCYx(10);
    result = ConvertADC(); // Start conversion
    ultoa(result,str); // convert to string
    while(BusyUSART());
    putsUSART(str); //Convert an 16-bit signed byte to a string.
    }

    It's right?
    There is a better way to do that?
    How can I read these signals on display?
    Can you help me with the code for reading string or more byte on the display?
    Thanks a lot,
    Salvatore
Working...
X