CanOpen communication with Qt on udoo Neo

Discussion in 'UDOO NEO' started by Sassus-Bourda, Mar 17, 2016.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Yes you can ! At first you need to activate the lvds output in /boot/uEnv.txt. Then if you use Qt for your app see here to have the touch in Qt app. Before you will launch your qt app you need to export :

    or when you deploy with qt creator see here.
     
    fred33 and waltervl like this.
  2. fred33

    fred33 New Member

    Joined:
    May 30, 2017
    Messages:
    3
    Likes Received:
    1
    Hi Modjo,
    I put these 3 parameters in my Udoo kit on qtcreator and when I deploy the Udoo is touchscreen.
    My graphic design was perturbated by the height and width parameter, so I removed them and get my original design again.
    That's probably because we managed as a parameter the screen size directly in our Qt code.
    Many thanks you're the boss.
     
    modjo likes this.
  3. fred33

    fred33 New Member

    Joined:
    May 30, 2017
    Messages:
    3
    Likes Received:
    1
    Hi Modjo,
    I tried using your can class and it's working fine. Congrats!
    Just one question : in your function checkmessage(), you're using "emit data(m_sCan);"
    what is it for?
    thanks in advance
    Fred
     
  4. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    you can connect a slot to this signal. when a new message is received this signal is emited. if you connect a slot to this, you can make some operation that you need in this method.
     

Share This Page