I'm a title. Click here to edit me.
Case 02: Smart Car Park Access Barrier
The micr:bit will check if there are any vacancies in the car park. If there are any cars entering the car park, (eg. The distance sensor return value <5). Then, the servo will control the car park gate to be opened; otherwise, the gate will keep closing.