Skip to content

LEDs not syncing for basic example on ESP32-WROOM-32 #2

@robinpdev

Description

@robinpdev

Hi, i just tested the basic example on 2 ESP32-WROOM-32 .

This is the output:

[ESPNowMeshClock] Initializing timer...
[ESPNowMeshClock] Chip: ESP32-D0WD-V3
[ESPNowMeshClock] CPU Freq: 240 MHz
[ESPNowMeshClock] Timer test: lu -> lu (diff: lu us)
[ESPNowMeshClock] Started.
[PULSE] Mesh time: 4278358544 µs (4278358 ms)
ALONE
[MeshClock SYNC] Direct set forward. Offset: ld us, Delta: ld us
State Change: SYNCED - Successfully synchronized with mesh!
[PULSE] Mesh time: 4330801850 µs (4330801 ms)
SYNCED ✓
[MeshClock SYNC] No adjustment (remote behind by ld us)
[PULSE] Mesh time: 4331801796 µs (4331801 ms)
SYNCED ✓
[PULSE] Mesh time: 4332801796 µs (4332801 ms)
SYNCED ✓
[MeshClock SYNC] No adjustment (remote behind by ld us)
[PULSE] Mesh time: 4333801796 µs (4333801 ms)
SYNCED ✓
[MeshClock SYNC] No adjustment (remote behind by ld us)
[PULSE] Mesh time: 4334801796 µs (4334801 ms)
SYNCED ✓
[MeshClock SYNC] No adjustment (remote behind by ld us)
[PULSE] Mesh time: 4335801796 µs (4335801 ms)
SYNCED ✓

Everything seems to be working in the output but the LEDs are not syncing correctly (not even close) even though when i look at the serial output, the clocks do seem to be synced at least within a second of each other.

the lu and ld in the output is just a case of some printf format not supported by the implementation of printf in my platform, here's my platformio config:

[env:upesy_wroom]
lib_deps =
    https://github.com/Hemisphere-Project/ESPNowMeshClock.git
platform = espressif32
framework = arduino
board = upesy_wroom
monitor_speed = 115200

Do you know what could cause this? any debugging advice is appreciated.
@Maigre

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions