Recalbox Forum

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

    [Script] CLCD display on recalbox

    Community projects
    [script] clcd display recalbox
    8
    29
    12055
    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.
    • La Vague
      La Vague @Choum last edited by

      @choum
      Bonjour,
      achat de l'afficheur sur aliexpress. (1602 16x2 HD44780 Character LCD blue + 1pcs IIC/I2C 1602 Serial Interface)
      branchement ok (rétro-éclairage)
      et configuration (copie des fichier & modifications) mais a la commande: i2cdetect -y 1
      ça ne fonctionne pas rien de détecté.
      D’où viens le pb ?
      merci de votre aide.

      1 Reply Last reply Reply Quote 0
      • La Vague
        La Vague @paradadf last edited by OyyoDams

        @paradadf said in [Script] CLCD display on recalbox:

        @choum hi! I´m not sure if you´ve missed the issues and PR I made on your repo, but wanted to give you a heads up about the installation script I wrote. Currently, it is based on the changes I made on my fork. Mainly and most important moving the scripts to a separated folder to have it better organized.
        https://github.com/paradadf/Recalbox-Clcd/blob/master/clcd-install.sh

        Bonjour,
        message d'euure au lancement !

        sous windows avec putty:

        login as: root
        root@recalbox's password:
        # sh ./clcd-install.sh
        sh: ./clcd-install.sh: No such file or directory
        # cd /
        # sh ./clcd-install.sh
        ./clcd-install.sh: line 7: syntax error near unexpected token `newline'
        ./clcd-install.sh: line 7: `<!DOCTYPE html>'
        # chmod +x clcd-install.sh
        

        merci de votre aide.

        paradadf 1 Reply Last reply Reply Quote 0
        • Choum
          Choum last edited by

          Bonjour,

          Pour le script aucune idée, je ne l'ai pas pas encore testé ni développé.

          Pour la commande i2cdetect -y 1, elle devrait normalement fonctionner, une fois les modifications effectuées ET le raspberry redémarré.

          Si tu fais un : LS /dev/

          Tu vois un I2c-1 (ou autre I2C)

          1 Reply Last reply Reply Quote 0
          • paradadf
            paradadf Staff @La Vague last edited by

            @la-vague I don’t speak french, but you have to copy the clcd-install.sh script preferably to /recalbox/scripts/ with, e.g. WinSCP. Connect with putty and navigate to that folder wirh cd /recalbox/scripts/, then chmod +x ./clcd-install.sh and finally run the script with ./clcd-install.sh. Follow the instructions then...

            If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

            La Vague 1 Reply Last reply Reply Quote 0
            • La Vague
              La Vague @paradadf last edited by

              @paradadf
              hello,
              it is not work :

              Using username "root".
              root@recalbox's password:
              sh-4.3# cd /recalbox/scripts/
              sh-4.3# chmod +x ./clcd-install.sh
              chmod: ./clcd-install.sh: Read-only file system
              sh-4.3# ./clcd-install.sh
              ./clcd-install.sh: line 7: syntax error near unexpected token newline' ./clcd-install.sh: line 7: <!DOCTYPE html>'
              sh-4.3#

              thanks

              paradadf 1 Reply Last reply Reply Quote 0
              • La Vague
                La Vague last edited by

                @choum
                bonjour choum,

                désolé pour le retour tardif, j'ai du m'absenter 15 jours.

                login as: root
                root@recalbox's password:

                i2cdetect -y 1

                 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
                

                00: -- -- -- -- -- -- -- -- -- -- -- -- --
                10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
                70: -- -- -- -- -- -- -- --

                1 Reply Last reply Reply Quote 0
                • La Vague
                  La Vague last edited by

                  ls /dev/ :
                  il y a bien I2c-1

                  La Vague 1 Reply Last reply Reply Quote 0
                  • paradadf
                    paradadf Staff @La Vague last edited by paradadf

                    @la-vague make the partition rewritable with:
                    mount -o remount,rw / before trying to change permits.
                    And it seems to me you haven‘t copied the script properly, but downloaded some html code instead. After you copy the script, open it wirh WinSCP (use it to copy it too!) and see the file matches the code itself.

                    If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                    1 Reply Last reply Reply Quote 0
                    • La Vague
                      La Vague @La Vague last edited by

                      bonjour,
                      pb trouver en remplaçant le fichier recalbox.conf avec celui d'origine c'est lui qui était en cause.
                      merci a tous

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

                        GPIO03 (Pin 5 ) i have it on Power button, what can i do in this case? Can i transfer it on other GPIO pin?

                        Choum 1 Reply Last reply Reply Quote 0
                        • Choum
                          Choum @Andrei last edited by

                          @andrei

                          I'm not sure you can do that.
                          Why don't you put your power button on the run switch of the board which is normally intended for that ?

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

                            good idea , i will try that

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

                              Hey thanks for the answers guyz!
                              Thank you so much!

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

                              Want to support us ?

                              74
                              Online

                              99.6k
                              Users

                              28.1k
                              Topics

                              187.1k
                              Posts

                              Copyright © 2021 recalbox.com