Report Bugs Here

Moderator: Mmiscool

User avatar
By Luc Volders
#57113 Hi livetv,

Thanks for your reply. I am using: ESP Basic 3.0.Alpha 49

Just tried it, no change on D7 (GPIO13).

D8 is just not responding on command
IO(PO,D8,1)

IO(PO,RX,1) works though.............

Oh and I checked D8 cause I have attached a string of Neopixels on D8 which works flawlessly. So pin is not broken.

Thanks for your looking into it.

Luc
User avatar
By livetv
#57138 Ok, io(po,15,1) but io(po,D8,1) does not work?

If this is the case, it points to a problem in the eval.ino file of the source code. HOWEVER, I checked that meticulously and I'm certain the code is ok. Perhaps it was not in alpha 49.

Here is one other possibility. If you have defined a variable called D8 (or d8) then the value assigned to it WILL override the constant translation. In other words, the gpio number will be that value instead of 15.

Try this:

d8 = 15
io(po,d8,1)

If that works, then I suspect alpha 49 had a bug which I can't locate in the current version. If none of that works, try this:

io(po,"d8",1)

This runs the constant translation through a different piece of code in another file. I would be interested in knowing which of these work. I'd try these out except that I'm on the road with a NodeMCU and NO other components or test equipment.