https://ferryzhou.github.io/nezha-ble/hands-ble/index.htm

https://github.com/ferryzhou/nezha-ble/tree/main/hands-ble

https://makecode.microbit.org/S41681-69957-52890-33070

turn the car to face toward hand

Son assembled car with nezha kit, I wrote code

if hand is on the right side of the image, turn right. and turn left if hand is on the left side.

tested and works!

one caveat is to enable / disable selfie mode.

another issue is cannot chose back camera.

the following article seems have solutions

https://www.twilio.com/en-us/blog/choosing-cameras-javascript-mediadevices-api-html


<
Previous Post
microbit web bluetooth connect
>
Next Post
Chip war quotes