Skip to content

Compilation issue for GatorRTC #6

@bmurphy-dev

Description

@bmurphy-dev

This problem exists in MakeCode Blocks, JS, and Python editors. Project will not compile properly for the Gator RTC wireless data logging experiment.
Receiving wireless data Wireless Weather Data Experiment 5.2: https://github.com/sparkfun/Micro_Bit_Weather_Bit/blob/master/Firmware/Wireless_Remote_Weather_Station/microbit-52-RTC-Weather-Station-Request-Receive-Data-Check-Debug.hex
SparkFun Forum Thread: https://forum.sparkfun.com/viewtopic.php?uid=73026&f=88&t=55021&start=0

I was only able to get this particular experiment to load by copy/pasting the JS and can see all of the gatorRTC lines are the issue as if that extension is bad. Lines 272-283 and 301-329
image

image
image

Looks like it's in the gatorRTC.ts file of the gatorRTC extension, lines 184, 185, 197, 200, 205, 252, 357 set12HourMode(), 361 set24HourMode()

image
https://github.com/sparkfun/pxt-gator-rtc/blob/master/gatorRTC.ts
Ties to this issue: sparkfun/pxt-gator-rtc#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions