I think it's probably jspin.c. At some point (after the real_prototype_chain branch) I may just shove them in the symbol table and it'll be ok.
Well, I'm still keeping Pin, I just think it needs to do something to warn or people will keep using it on ESP8266. It won't error if you convert a string or float to a Pin, so you can still do that.
Or in fact you can just do digitalWrite(1,1) - it still works fine.
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 think it's probably
jspin.c
. At some point (after the real_prototype_chain branch) I may just shove them in the symbol table and it'll be ok.Well, I'm still keeping Pin, I just think it needs to do something to warn or people will keep using it on ESP8266. It won't error if you convert a string or float to a Pin, so you can still do that.
Or in fact you can just do
digitalWrite(1,1)
- it still works fine.