{"id":23021656,"url":"https://github.com/raupulus/raspberry-display-max7219","last_synced_at":"2025-04-02T18:44:32.490Z","repository":{"id":95712846,"uuid":"130181007","full_name":"raupulus/raspberry-display-MAX7219","owner":"raupulus","description":"Instalación y librerías personalizadas para display de 7 segmentos (8 dígitos) con el chip MAX7219 en Raspberry y Raspbian Estable. Este es un mirror de: https://gitlab.com/raupulus/raspberry-MAX7219","archived":false,"fork":false,"pushed_at":"2023-03-19T03:33:27.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T09:29:28.835Z","etag":null,"topics":["7-segment","8-digit","8-digitos","controlador","digit","display","driver","led","max7219","oled","pantalla","raspberry","raspbian","raspbian-estable","rpi","seven","seven-segment","seven-segments-display","sevensegment","sietesegmentos"],"latest_commit_sha":null,"homepage":"https://raupulus.dev","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raupulus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-19T08:06:31.000Z","updated_at":"2023-03-13T17:32:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c47a49b5-a380-4a9e-b3ba-2938f7b52250","html_url":"https://github.com/raupulus/raspberry-display-MAX7219","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raupulus%2Fraspberry-display-MAX7219","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raupulus%2Fraspberry-display-MAX7219/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raupulus%2Fraspberry-display-MAX7219/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raupulus%2Fraspberry-display-MAX7219/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raupulus","download_url":"https://codeload.github.com/raupulus/raspberry-display-MAX7219/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246871740,"owners_count":20847527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["7-segment","8-digit","8-digitos","controlador","digit","display","driver","led","max7219","oled","pantalla","raspberry","raspbian","raspbian-estable","rpi","seven","seven-segment","seven-segments-display","sevensegment","sietesegmentos"],"created_at":"2024-12-15T12:18:48.782Z","updated_at":"2025-04-02T18:44:32.483Z","avatar_url":"https://github.com/raupulus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# raspberry-MAX7219\n\nInstalación y librerías personalizadas para display de 7 segmentos (8 dígitos) con el chip MAX7219 en Raspberry y Raspbian Estable\n\nEsta herramienta facilita el acceso, instalación y manipulación de pantallas\ncon el chip max7219\n\n## Instalar librerías en Raspbian desde PyPy\nPara instalar la librería debemos tener instalado pip y python.\n\n### Para python =2.7\n\n```bash\n    pip install Pillow\n    sudo -H pip install --upgrade luma.led_matrix\n```\n\n### Para python \u003e=3.4\n\n```bash\n    pip3 install Pillow\n    sudo -H pip3 install --upgrade luma.led_matrix\n```\n\nPara otros modos de instalación o/y contemplar otros sistemas operativos\ntendrás que consultar la fuente oficial del autor para la librería usada, esta\ninformación la puedes encontrar un poco más abajo.\n\n\n## Modo de uso\n\nPara usar esta clase de apoyo solo necesitamos el archivo \"Sevensegment.py\" e\ninstanciarlo. Una vez realizado esto ya podemos acceder a los métodos\nsimplificados que he creado para hacer aún más accesible estas pantallas.\n\nPara ello lo importamos:\n\n```Python\n    from Sevensegment import  Sevensegment\n```\n\nY una vez importado ya podemos crear un objeto a partir de el, sería algo\nsimilar a lo siguiente:\n\n```Python\n    ss = Sevensegment()\n```\n\nYa sería posible acceder a sus métodos como por ejemplo pintando la fecha:\n```Python\n    ss.fecha()\n```\n\n### Métodos de Sevensegment.py\n\n- fecha() → Muestra la fecha\n- hora() → Muestra la hora\n- mostrarMensajeFlotante(texto, delay) → Mensaje desde la derecha hacia\nizquierda\n- mostrarMensajeFlotante2(texto, delay) → Mensaje similar al anterior\n- mostrar(texto) → Muestra un mensaje fijo\n- brillo(n) → Cambia la intensidad del brillo, valores del 0-15\n\n\n### Pines GPIO\n\nLos pines para una Raspberry PI con este tipo de display sigue este esquema:\n\n|   Board Pin  |     Name     |    Remarks   |    RPi Pin   | RPi Function |\n| :----------: | :----------: | :----------: | :----------: | :----------: |\n|      4       |     VCC      |   +5V Power  |      -       |     5V0      |\n|      6       |     GND      |    Ground    |      -       |     GND      |\n|      19      |     DIN      |    Data In   |      10      |    MOSI      |\n|      24      |     CS       |  Chip Select |      8       |   SPI CE0    |\n|      23      |     CLK      |     Clock    |      11      |   SPI CLK    |\n\n\n## Librería usada\n\nhttps://github.com/rm-hull/luma.led_matrix\n\n\n## Documentación de la librería oficial\n\nhttps://luma-led-matrix.readthedocs.io/en/latest/api-documentation.html#module-luma.led_matrix.device\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraupulus%2Fraspberry-display-max7219","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraupulus%2Fraspberry-display-max7219","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraupulus%2Fraspberry-display-max7219/lists"}