Gast
#4851235
Wieso funktionieren manche Pins nicht als Output auf dem nodeMCU? Ich habe hier lua drauf und will D0-D8 als Outputs nutzen D0: pin=0; gpio.mode(pin,gpio.OUTPUT,gpio.FLOATING);gpio.write(pin,gpio.HIGH); => 3,3V, bei LOW brennt die rote onboard LED wie sie soll. D1: pin=1; ... => 3.3V bei HIGH D2: pin=2; ... => 1.1V bei HIGH, 0V bei LOW D3: pin=3; ... => 1.1V bei HIGH, 0V bei LOW D4: pin=4; ... => 1.1V bei HIGH, 0V bei LOW seht man ihn HIGH brennt die blaue WLAN-LED wie sie soll. D5-D8: geht auch nicht, wie oben Liest man die Ports aus werden die entspr. HIGH/LOW stati korrekt ausgegeben auch bei den 1.1V-Fällen. Wieso sind manche Pins 1.1V? Ich habe SPI mit einkompiliert so dass es evt. daran an D5-D8 liegt aber D2 funktioniert auch nicht, der hat ist nur GPIO und hat sonst keine weitere Funktion. ISt ein Chinaboard mit Flash und Reset-Button, das Kleinere was glaube ich V1.0 entspricht, es ist mit diesem Bild hier identisch: https://iotbytes.wordpress.com/nodemcu-pinout/