Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Accesss GPIO via python

    Recalbox General
    controller free
    3
    3
    839
    Loading More Posts
    • 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.
    • yusuke-urameshi
      yusuke-urameshi last edited by

      Hi, im new to this distro, and im moving from RetroPie wich used a raspbian distro so I could attach an 20x4 lcd display on my pi as well as other hardwares, and access them via RPi.GPIO in python and use Adafruit's lib to access and write on LCD display. (i have a servo, a 1302RTC arduino module and a serial bluetooth also from arduino in others gpios) the rtc works because i use a C program to access it, so it was just copy and run. by the way, where is the equivalent to the /etc/rc.local in the /etc files? Can i create one it will work? I need to know what's the 1st file executed in the boot so i can put a line to run the rtc program. besides this, my power and act led are redirected via config.txt to other pins in gpio so I can see them out of my pi's box, the command to transfer them did not work. dtparam=act_led_gpio 16 dtparam=pwr_led_gpio 20 those are the commands passed on config.txt ty for any help!

      1 Reply Last reply Reply Quote 0
      • rockaddicted
        rockaddicted last edited by

        Hi, I'm not an GPIO expert so I'll let someone else give you an answer. About the equivalent to the /etc/rc.local, maybe you're talking about this directory /etc/init.d.

        Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
        Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
        Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

        Don't forget to upvote messages if it has been useful ;)

        1 Reply Last reply Reply Quote 0
        • digitaLumberjack
          digitaLumberjack Staff
          Developer
          Global moderator
          Team
          last edited by

          Sorry pal but it's not supported in recalbox 😞

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          67
          Online

          88.3k
          Users

          26.2k
          Topics

          179.9k
          Posts

          Copyright © 2021 recalbox.com