Skip to content

tamalib MCU frequency #9

@user-e

Description

@user-e

Not an issue, just a question.

It was pretty easy to run tamalib and Tamagothi P1 on Raspberry Pi Pico Clone RP2040 with a SSD1306 display, but i got some problem to understand how to set the correctly run frequency to get the time and speed run correctly.

bool_t tamalib_init(const u12_t *program, breakpoint_t *breakpoints, u32_t freq);

In tamalib_init does the freq value mean the MCU frequency?

If yes, does the sleep_until function used to add a delay and simulate the 32768Hz?

1-D6-B7-DD9-9-D00-45-C5-93-A4-AEE7-C7-E41608

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions