No, we've been through this before here:
http://forum.espruino.com/conversations/325755/
I can wire up an ESP8266 to a rotary encoder and spin it as fast as I can, and nothing bad happens like a reset.
Using this code:
var step = 0; pinMode(NodeMCU.D8,"input_pullup"); pinMode(NodeMCU.D2,"input_pullup"); require("Encoder").connect(NodeMCU.D2,NodeMCU.D8,function (direction) { step += direction; print(step); });
I can do this as long as I want. True I get a "New interpreter error: FIFO_FULL" error, but it doesn't affect anything.
____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 1v99 (c) 2018 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate Flash map 4MB:1024/1024, manuf 0x1c chip 0x3016 >load() =undefined ERROR: Pin state not supported ERROR: Pin state not supported 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 111 112 113 114 New interpreter error: FIFO_FULL 115 116 117 118 119 120 121
So this is about a clear difference between the ESP8266 and the ESP32. It works on the ESP8266, it doesn't on the ESP32.
-=hfc
@hungryforcodes 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.
No, we've been through this before here:
http://forum.espruino.com/conversations/325755/
I can wire up an ESP8266 to a rotary encoder and spin it as fast as I can, and nothing bad happens like a reset.
Using this code:
I can do this as long as I want. True I get a "New interpreter error: FIFO_FULL" error, but it doesn't affect anything.
So this is about a clear difference between the ESP8266 and the ESP32. It works on the ESP8266, it doesn't on the ESP32.
-=hfc