0

I'm making an IOT project for home automation, including a dozen of Rpi Zero-W using Strech-Lite operating syste, to control and report its Sensor and/ or relay's status.

I believe a ESP32 Ebay link would be much more reliable since it is a controller running code rather that a whole operating system as my current solution ( By the way micro:bit does not qualify since it lacks wifi ).

My question is - can I use gpiozero library ? since my code is based on it

guyd
  • 693
  • 2
  • 14
  • 32
  • The GPIO on a raspberry pi is used very differently than on ESP32 microcontrollers. Don't expect your code to work. – Klaus D. Jun 24 '18 at 20:09
  • @KlausD. thank you- do you know that for sure ? do you know if RPi.GPIO will ? – guyd Jun 24 '18 at 20:12
  • 1
    In a mechanics world your question would be equivalent to: Can I use the power stearing from my car on my bicycle. To make it more clear: No, specialized RPi libraries will not work on your microcontroller. – Klaus D. Jun 24 '18 at 20:21

1 Answers1

1

classes supported in MicroPython here

J.Deere
  • 50
  • 8