Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. Pdagarcia
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    Pdagarcia

    @Pdagarcia

    0
    Reputation
    332
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Pdagarcia Unfollow Follow

    Latest posts made by Pdagarcia

    • RE: Script to turn off cooler

      With this transistor 2N4401 600 mA, 40V and 5v fan Works perfectly.

      posted in Recalbox General
      Pdagarcia
      Pdagarcia
    • RE: Script to turn off cooler

      #!/usr/bin/env python3

      import os
      from time import sleep
      import signal
      import sys
      import RPi.GPIO as GPIO

      pin = 27 # The pin ID, edit here to change it
      maxTMP = 50 # The maximum temperature in Celsius after which we trigger the fan
      sleepTime = 30 # The time to sleep between temp checks

      def setup():
      GPIO.setmode(GPIO.BCM)
      GPIO.setup(pin, GPIO.OUT)
      GPIO.setwarnings(False)
      return()

      def getCPUtemperature():
      res = os.popen('vcgencmd measure_temp').readline()
      temp =(res.replace("temp=","").replace("'C\n",""))
      print("temp is {0}".format(temp)) #Uncomment here for testing
      return temp

      def fanON():
      print("Fan on ...")
      setPin(True)
      return()

      def fanOFF():
      print("Fan off ...")
      setPin(False)
      return()

      def getTEMP():
      CPU_temp = float(getCPUtemperature())
      if CPU_temp > maxTMP:
      fanON()
      sleep(sleepTime) # Sleep additional time in order to ensure that we stay below max temp ...
      else:
      fanOFF()
      return()

      def setPin(mode): # A little redundant function but useful if you want to add logging
      GPIO.output(pin, mode)
      return()

      try:
      setup()
      while True:
      getTEMP()
      sleep(sleepTime) # Read the temperature every x amount of seconds ...
      except KeyboardInterrupt: # trap a CTRL+C keyboard interrupt
      GPIO.cleanup() # resets all GPIO ports used by this script

      posted in Recalbox General
      Pdagarcia
      Pdagarcia
    • RE: Problemas de audio.

      Problema resuelto solo le agregue una line a config.txt en la particion boot.

      Enable audio (loads snd_bcm2835)

      dtparam=audio=on

      Muchas gracias.

      posted in Recalbox general
      Pdagarcia
      Pdagarcia
    • RE: Problemas de audio.

      De hecho ya hice todo lo que me dices pero sigue igual,también intente con la beta 2 para probar pero nada.
      Talves mi televisión manda mala información del EDID probare editando el config.txt

      posted in Recalbox general
      Pdagarcia
      Pdagarcia
    • RE: Problemas de audio.

      Oh!
      Si es una nueva instalación estoy utilizando una RPi3 y esta conectada con hdmi.
      kodi funciona bien

      posted in Recalbox general
      Pdagarcia
      Pdagarcia
    • Problemas de audio.

      Hola!
      Bueno lo que pasa es que no funciona el audio en ningun emulador ni la música de fondo voy a configuración de audio y esta en cero la cambio a 100 y nada . Vuelvo a entrar a configuración de audio y de nuevo esta en cero no se que es lo que pasa.
      Porcierto estoy en al beta 5 a alguien le pasa lo mismo?

      posted in Recalbox general
      Pdagarcia
      Pdagarcia
    • RE: No sound via HDMI on 4.0 Beta 1

      I got the same problem
      Has anyone resolved this problem? 😕
      I'm using 4.0 beta 5

      posted in Recalbox General
      Pdagarcia
      Pdagarcia