Skip to content

small int overflow on non-longint board #30

Closed
@dhalbert

Description

@dhalbert

Discord user thesmelliestone could not use this library on a Trinket M0. It appears that a register read is assuming longint support:

import adafruit_ds3231
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_ds3231.py", line 67, in <module>
  File "adafruit_ds3231.py", line 97, in DS3231
  File "adafruit_register/i2c_bits.py", line 63, in init
OverflowError: small int overflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions