Page 1 of 1
Pull-Up Pull-Down
Posted:
Fri Nov 18, 2016 6:29 pm
by Luc Volders
Repeated request.
Mike,
Would it please be possible to add the pull-up and pull down options to the i/o functions.
To not interfere with the existing programs you could even add commands like
pu (pull-up) and pd (pull-down)
Like:
io(pu,{pin})
I saw this request earlier but as far as I know it is never implemented.
Luc
Re: Pull-Up Pull-Down
Posted:
Fri Nov 18, 2016 9:14 pm
by Mmiscool
This looks like it would be possible. Would need to look at how to do it in a way that makes it simple.
Let me ponder on it a bit and see how hard it would be to fit in to the current system.
Glad to see you have been getting some use out of esp basic. Hopefully it has been stable and able to do what you need with out crashes or other problems.
Re: Pull-Up Pull-Down
Posted:
Sat Nov 19, 2016 7:31 am
by Luc Volders
Thanks Mike !!!
Since a few weeks I have been diving deep into ESP-BASIC and have it running now for several projects.
- The obvious thermometer using a Dallas 18b20 on an ESP-01
- An RGB strip controller using TIP120 power transistors on a NodeMCU with a webpage with sliders.
All these work with just a few lines of code, and most of the code is even just for enhancing the web-page.
Detailed build instructions will be available in the future on my web-page.
ESP-Basic is simply brilliant.
Thanks for considering my request.
Luc