en-us_commands:reference:irtc32khz
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en-us_commands:reference:irtc32khz [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_commands:reference:irtc32khz [2026/09/14 20:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ===== Example ===== | ===== Example ===== | ||
| + | |||
| + | This example connects a DS3231 RTC module to the MPINO-16A8R8T I²C port. The RTC's 32 kHz and square-wave outputs use different pins. | ||
| <code cpp> | <code cpp> | ||
| - | bool IrtcSquareWave(bool enable, uint8_t frequency = IRTC_SQUARE_WAVE_1HZ, | + | void setup() { |
| - | bool batteryPowered = false); | + | |
| - | bool Irtc32kHz(bool enable | + | |
| + | Serial.println(F(" | ||
| + | return; | ||
| + | } | ||
| + | const bool configured | ||
| + | Serial.println(configured ? F(" | ||
| + | } | ||
| + | |||
| + | void loop() {} | ||
| </ | </ | ||
| Line 24: | Line 34: | ||
| Run each device' | Run each device' | ||
| + | |||
| + | ===== Built-in Commands in the Same Category ===== | ||
| + | |||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| [[: | [[: | ||
en-us_commands/reference/irtc32khz.1788785567.txt.gz · Last modified: by 127.0.0.1
