Tuesday, 14 June 2016

Microcontroller interfacing with pygame



             Micro controller interfacing with pygame


In this project I have varied the size of the object according to the sensor values using pygame. It is a testing process for my project called “Game operating with sensors”. so let us see the output and working of this project.
I have divided this project into steps

Step1: First I need to download python along with pygame and pyserial library after that I need to
 import those libraries into python. After that I need to set the display height and width and color and caption


Step2: In this step I need to display the object.


Step3: Now I need to vary the size of the objects according to the sensor value







We can change the position too..


No comments:

Post a Comment