Skip to content

ESP32_C3: timer_group: timer_init(271): HW TIMER NUM ERROR #9674

@iBoundary

Description

@iBoundary

from machine import*
tim = Timer(-1)
tim.init(period=1000,callback = lambda t:print('rtos'))
E (6078630) timer_group: timer_init(271): HW TIMER NUM ERROR
Traceback (most recent call last):
File "", line 1, in
OSError: (-258, 'ESP_ERR_INVALID_ARG')

I found out that virtual timer is not available in ESP32_C3 chip.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions