Closed git-marc closed 5 years ago
Can you provide more descriptions? How is the system connected? What is the performance of the problem?
Please accept my apologies for my late reply:
I tried to use the MicroBit online Simulation ... (https://makecode.microbit.org/#editor)
___ Output
___ desired/expected Output
same default result for all other values that i tried before (such as Second, Minute, Hour, Weekday, Day, Month, Year, DateTime)
I have make a deep test again, and my DS1307 module is work fine with your code. There are maybe something wrong with your DS1307, can you try another DS1307 module?
I never tested my Code Samples with a DS1307 module connected to my MacBookPro assuming that the DS1307 library allows for a preview though. So I actually do need to have a DS1307 module connected for testing?
Yes, a DS1307 module is need for test. Because hardware I2C is not support in makecode simulator .
Thank You for the information!
Issue: No Display or change of time/date settings with makecode.microbit.org + "Neopixel" library
I can not see any of my time/date inputs changing the default settings
May you please let me know what I can do do see changes with microbic's online simulator (+ the "Neopixel" library loaded)?
I look forward to hearing from you, best regards
MY CODES (some of my tries)
............................................................. TRY 1 _input.onButtonPressed(Button.A, function () { DS1307.setYear(2018) basic.showString("" + DS1307.getYear()) }) DS1307.start()
............................................................. TRY 2 input.onButtonPressed(Button.A, function () { DS1307.setYear(2018) basic.pause(100) basic.showString("" + DS1307.getYear()) }) DS1307.start() basic.pause(100)
MY SYSTEM macOS: MOJAVE ( 10.14.1) Browser: Safari (12.0.1), Firefox(63.0.3) https://makecode.microbit.org/#editor
HEX_FILES.zip