Announcement

Collapse
No announcement yet.

Reset µlcd 43pt

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

  • Reset µlcd 43pt

    Hello all, I'm french and i have a project for my informatique school with this display,

    i have created an IHM with Workshop (visi-génie) and programming my project with C and C++ for a system Foxg20, but when i want debug my programm with eclipse, i want to reset display at the beginning of my programm such as the button "reset" in the 9600 terminal in workshop.

    my programm is composed of write,read, and i think write an ascii code for reset the display ?



    Thanks you for your answers and excuse me if i make some wrongs in words

    Maxime.

  • #2


    To reset the display you need something like

    escapecommfunction(comporthhandle,setdtr) ;
    sleep(50) ; // pause, delay, whetever
    escapecommfunction(comporthhandle,clrdtr) ;
    Mark

    Comment


    • #3


      Hello and think you for you answer.

      But what is this function ? Escapecommfunction ?

      Comment


      • #4


        It's a standard windows function.

        Effectively all you are doing is toggling the DTR line
        Mark

        Comment


        • #5


          Hello, sorry i don't understand,

          escapecomfunction is not find by eclipse c++.

          Comment


          • #6


            Sorry, you'll have to ask that question on an eclipse C++ forum, seems like an odd oversight to me, if it can't be done
            Mark

            Comment

            Working...
            X