Announcement

Collapse
No announcement yet.

want to design keyboard

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

  • pauleilio
    replied
    Hi,

    Under the Project tab you will find the download destination.

    Click image for larger version  Name:	projectMenu.png Views:	1 Size:	30.4 KB ID:	70216

    If you click on Flash, the code will be installed into Flash and will be the code that runs every time the uLCD is powered up or reset.

    I hope this helps

    Best regards

    Paul

    Leave a comment:


  • ykn
    replied
    i design some GUI using Designer Environment, but every time i have to download the code
    to the uLCD. is this way Designer Environment working, what else if i want to use it in product .
    thanking you

    Leave a comment:


  • pauleilio
    replied
    Hi,

    Welcome to the forum,

    In your code, you're not giving an index for the array when printing.

    var array[20];
    var i;

    func main()

    gfx_ScreenMode(LANDSCAPE) ; // change manually if orientation change

    print("Hello World","\r\n") ; // replace with your code

    repeat // maybe replace
    i++;
    if(i > 0 && i < 5)
    array[i] := i;
    print(array[i], "\r\n");
    pause(1000);
    endif
    forever // this as well

    endfunc

    I hope this helps

    Best regards

    Paul

    Leave a comment:


  • ykn
    started a topic want to design keyboard

    want to design keyboard

    hi ,
    i designed keuboard using push button and now i want to dipslay the character that i had pressed
    i simply used increment operator , that store pressed value each time in an array. but when i want to print that value to the display it is not showing correct value,
    then i simply tried loop to know, the working of print function given below

    Code:
    func main()
    
        gfx_ScreenMode(LANDSCAPE) ; // change manually if orientation change
    
        print("Hello World") ;      // replace with your code
    
        repeat                      // maybe replace
        i++;
        array[i] := i;
        print(array);
        pause(1000);
        gfx_Cls();
        forever                     // this as well
    
    endfunc
    as per my knowledge it should print
    1
    12
    123
    1234..
    and so on
    but it only print 2
    what can be the issue please help me
    thanking you.
Working...
X