Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. QtonPi: Can I use the GPIO on Pi ?
Forum Updated to NodeBB v4.3 + New Features

QtonPi: Can I use the GPIO on Pi ?

Scheduled Pinned Locked Moved QtonPi
6 Posts 5 Posters 13.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GordonSin
    wrote on last edited by
    #1

    Dear all,

    I am all new to Qt, I would like to know if there are any way that I can use the GPIO on Pi while I am using QtonPi. My project is to build a video/image decoder to transform video/image to pixel-bypixel RGB data, and then pass to another unit to display it, and I would really like to using GPIO to do it. Is there a way that I can do it?
    Thank you.

    Gordon

    1 Reply Last reply
    0
    • G Offline
      G Offline
      GordonSin
      wrote on last edited by
      #2

      Am I the only one who experiencing this

      1 Reply Last reply
      0
      • - Offline
        - Offline
        -Yaga-
        wrote on last edited by
        #3

        Hi !
        Haven't you found wiringPI ? :)
        Cheers
        Yaga

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tonygrim
          wrote on last edited by
          #4

          Pinouts and example code here:

          http://elinux.org/RPi_Low-level_peripherals

          Dona nobis pacem

          1 Reply Last reply
          0
          • M Offline
            M Offline
            melghawi
            wrote on last edited by
            #5

            You can use the "WiringPi":https://projects.drogon.net/raspberry-pi/wiringpi/ library to detect GPIO HIGH/LOW states, etc. Then write some C++ code that does something useful with the information that WiringPi provides. Now this code can be used in Qt/Qml.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JordiBinefa
              wrote on last edited by
              #6

              Sample using GPIO's Rasperry Pi, Qt and wiringPi :" R a s p b e r r y P i + S c r a t c h + w i r i n g P i + Q t + 3 B p i": http://oshw.binefa.net/?p=4

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved