Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 GPIO #274

Closed
laldana73 opened this issue Nov 10, 2022 · 2 comments
Closed

ESP32 GPIO #274

laldana73 opened this issue Nov 10, 2022 · 2 comments

Comments

@laldana73
Copy link

Thanks for your awesome pikascript.
I am Testing with an esp32c3.
pikascript is running...
i have the pikascript shell, but i don't find how to turn on a GPIO pin.
is this functionality already implemented?
i am trying ...
io1 = ESP32.GPIO()
io1.setPin('5') here i have to put a string
io1.setMode('out)

here trow an error
[error] no match gpio port.

is GPIO implemented for ESP32? or do i have to implement the functionality?

Thanks Again. Great Project

@laldana73
Copy link
Author

I foud the answer. the io1.setPin instruction is waiting 'Px' where x is the pin that i want to set.

@pikasTech
Copy link
Owner

Further adaptations of esp32 are still in progress, including the network layer and Bluetooth. If there are no other problems, I will close this issue, and have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants