Categories: Community member project
Related Articles
Responses
Cancel reply
You must be logged in to post a comment.
You must be logged in to post a comment.
There was a problem reporting this post.
Please confirm you want to block this member.
You will no longer be able to:
Please note: This action will also remove this member from your connections and send a report to the site admin. Please allow a few minutes for this process to complete.
Hey Stina! Your dino is one enthusiastic jumper! It looks to me like the light reading value you’re getting of ~300 (which is pretty dark) is causing your code to constantly think there’s a cactus and so hits jump. In the video you uploaded it looks like your light sensor is on the edge of the screen and so measuring the dark area on the edge of the screen rather than positioned over the area where the cacti are rolling past – but perhaps this was just a temporary setup and you uploaded the wrong video?
But you look like you have all the elements working, so good job so far! Try move the sensor to the cactus area and make sure you choose a proper light value for your setup (each setup will be a bit different) to trigger the jump to give your dino a break 😀
nice one
I can hear the motor but I cant see anything