if I power cycle the part after making it with with fs, it continues to work
Not sure I understand what you're saying?
I think I know what the issue is. Try changing scl: to sck: :)
scl:
sck:
It doesn't error because it's perfectly valid to not want sck to be brought out on a pin. If you don't mention it, it won't be set up.
Strange that reset() doesn't stop it working though. The pin states are all set back to defaults so I'm not sure I get why it would then keep going.
reset()
@Gordon started
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.
Not sure I understand what you're saying?
I think I know what the issue is. Try changing
scl:
tosck:
:)It doesn't error because it's perfectly valid to not want sck to be brought out on a pin. If you don't mention it, it won't be set up.
Strange that
reset()
doesn't stop it working though. The pin states are all set back to defaults so I'm not sure I get why it would then keep going.