I just tried exactly that, and couldn't reproduce!
In the IDE (when in the alarms app and it's not working), please can you try:
alarms
// what does this print?
require("Storage").readJSON("alarm.json")
// what does this print?
// then
require("Storage").write("alarm.json",JSON.stringify([
{ on: true, hr: 12, last: 14, rp: true },
{ on: true, hr: 13, last: 14, rp: true }
]));
// then
require("Storage").readJSON("alarm.json")
// what does this print?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just tried exactly that, and couldn't reproduce!
In the IDE (when in the alarms app and it's not working), please can you try: