Can GUIZERO develop by sensor? If possible, how? (Using If Elif and Else statement?)

97 views Asked by At

Can GUIZERO be used for developing with sensors, or is GPIOZERO required? I'm new to python and programming in general. I want to develope a Lift and Learn project. I have no idea how to create the script.

Here is my idea:

  • The display shows 5 different pictures
  • if pic 1 is lifted up, the display shows the description. The other pictures do not be move.
  • similarly if picture 2 is lifted up other picture do not be move
  • if both picture 1 and 2 are lifted up, pictures 3 and 5 will not be moving.

Anyone have any idea how to write this kind of coding?

1

There are 1 answers

1
DannyDannyDanny On

If this is your first project, start small! Start building a software-only prototype with only GUIZERO.

First install the library then see the getting started documentation.

You will need GPIOZERO (or alternative) later on to communicate with sensors.