Skip to content

Latest commit

 

History

History
18 lines (8 loc) · 799 Bytes

README.md

File metadata and controls

18 lines (8 loc) · 799 Bytes

Módulo para RTC DS3231 para el Onion Omega, Onion Omega2 y Onion Omega2+

El módulo funciona con Python 2 y Python 3. Depende de los paquetes python-ligth y pyOnionI2C, pueden instalarse con:

opkg install python-ligth pyOnionI2C

Para probarlo ejecuta testDS3231.py. La fecha y hora del sistema se copiaran al RTC y a continuación se leerá del RTC la fecha, hora y temperatura.

RTC DS3231 library the Onion Omega, Onion Omega2 and Onion Omega2+

The library works with Python 2 and Python 3. Depeneds on the packages python-ligth and pyOnionI2C, can be installed with:

opkg install python-ligth pyOnionI2C

Run testDS3231.py to test. The current system date and time will be written to the RTC and then the date, time and temperature will be read.