MAXDS3231M Class
- ID: maxds3231m
- Name: Realtime Clock (RTC) Sensor Library
- Category: light
- Manufacturer: maxim
- Connection: i2c
- Link: https://www.maximintegrated.com/en/products/digital/real-time-clocks/DS3231.html
This module defines the API for MAXDS3231M
Item Index
Methods
Methods
MAXDS3231M
(
Number
-
bus
-
devAddr
Instantiates an MAXDS3231M object
Parameters:
-
bus
NumberNumber of the used bus
-
devAddr
NumberAddress of the used I2C device
Returns:
Number:
getDate
(
Boolean
-
time
Gets the date and time from the chip.
Parameters:
-
time
Time3231Time structure
Returns:
Boolean:
getTemperature
()
Number
Gets the on-board temperature.
Returns:
Number:
name
()
String
Returns the name of the component
Returns:
String: