• Sat 2020.09.19

    Hi @bk, I sense a bit of frustration, but please look at it from my end. I have no reference to what it is you feel is incorrect. I suggested the inclusion of a link, and that still hasn't been supplied. So from my view, not being able to 'see' what it is being attempted, nor am I able to 'see' how the circuit is wired. Now, through experience, I might be able to visulaize what is being attempted, but again, I'm not going to just guess.

    As is in the documentation, it is suggested that a new user start with an 'Official Supported Board' as the evolution of Espruino and it's development along with all the documentation were created specifically for Original boards that @Gordon developed. From that complexity we can't just expect the documentation to work for all boards out there.

    See note beneath the board listings:

    http://www.espruino.com/Other+Boards

    There are several in the community willing to assist, and @MaBe has extended his expertise using the ESP8266. Now having several years under my belt, I understand the explanation, but a lot of assumptions have been made. Mine from the side of how things are wired, as it appeared to me to be a hardware thing, more so than that of software.


    'So basically we need to figure out manually what type of code will work?'

    To answer this accurately, will require me to look at what documentation is being considered incorrect. It is likely (yes another S.W.A.G. response) that the documentation was for a specific circuit, and the attempt being made now isn't exactly that same circuit.

  • Actually I am not frustrated but trying to figure out how can I use esp8266 with espruino firmware, especially digitalRead() and digitalWrite() correctly. Anyways, it seems to be a bit weird that on

    digitalWrite(D2, true)
    

    or

    digitalWrite(D1, 1)
    

    LED does gets turned off. I tried on multiple esp8266 board but same results.
    And

    D2.set();
    

    and

    D2.reset();
    

    Feels much more inconvenient but it works as mentioned by @MaBe.
    And I am referring https://www.espruino.com/Reference
    for documentation.

About

Avatar for Robin @Robin started