RodrigoDornelles / 3bc-lang

Low-level language, tiny virtual machine, minimal runtime, intermediate representation, embeddable, easy for beginners. (Friendly Punched cards)
https://3bc-lang.org
GNU General Public License v3.0
242 stars 27 forks source link

use cpu mode for gpio #384

Open RodrigoDornelles opened 1 year ago

RodrigoDornelles commented 1 year ago

Please Describe The Problem To Be Solved

It would be interesting to simplify and decouple, instead of managing generic inputs and outputs by memory regions, to decide on a CPU mode for those interactions.

related #155

menmonic description
gpio pin
conf pin mode
pull digital/analog read
????
push digital/analog write