当前位置:天才代写 > C++/C代写,c语言代写代考-100%安全,包过 > 微处理系统作业代写 microprocessor system代写

微处理系统作业代写 microprocessor system代写

2023-02-14 10:00 星期二 所属: C++/C代写,c语言代写代考-100%安全,包过 浏览:365

微处理系统作业代写

Snake game for STM32F769I Discovery board

微处理系统作业代写 The team has several goals that are expected to reach. First, we want to build the SNAKE game itself with C language.

Introduction:

For the final project, the team plans to build a SNAKE game on STM32F769I DISCO board,displayed on the MB1166 LCD board, and controlled by a joystick and push buttons. The project will require the team to use the knowledge of Timer, ADC/DAC, SPI, and etc. The team will use the CubeIDE to implement the program that is necessary to game engine and controller peripherals.

Objective:  微处理系统作业代写

The team has several goals that are expected to reach. First, we want to build the SNAKE game itself with C language. Next, we want to display our game on the LCD. Also, we will use a joystick to control the snake itself on the screen, LEDs to indicate whether the snake has eaten the fruit and whether it has crashed with boundary or itself. Also, we will add a buzzer or a speaker to indicate those events. During the game we will record the score of the snake and display it when the snake has crashed.

微处理系统作业代写
微处理系统作业代写

Project Description:

During this game, the player controls a dot on a bordered plane. As the dot moves, it leaves a trail behind, resembling a moving snake. The length of the trail will increase each time after the player controls the snake to eat some food that appears randomly on the screen. The player loses when the snake runs into the screen border, an obstacle, or itself.

Figure.1 shows the hardware and software modules used in this project and their relationship.The player will need to use a joystick to change the heading of the snake. The joystick consists of 2 resistors which resistance will change according to the x-axis and y-axis position of the joystick. In order to control the snake through the joystick, two ADC channels will be implemented to read x-axis and y-axis analog voltage outputs from the joystick.  微处理系统作业代写

Two pushbuttons will also be implemented in this game, working as digital inputs. The first pushbutton should be used to pause the game, and the second pushbutton should be used to restart the game. To indicate gaming events, we will use LEDs on the DISCO board to indicate whether the snake has eaten a fruit or crashed. Also, we will use LEDs to indicate whether the game has been reset or started. We will also use a buzzer or a speaker to indicate gaming events with different sounds. The communication between microcontroller and LCD will be performed through SPI.

Figure 1

Expected Difficulty:  微处理系统作业代写

For this project, we might expect to have several difficulties on the game design itself like how to increment the length of the snake and make it move by controlling the head of the snake. Also,we might be expected to figure out what frequency of timer we should use to update different events so that our game can be played smoothly.

 

微处理系统作业代写
微处理系统作业代写
更多代写:微积分网课托管价格  托业成绩作弊  网课代管价格  网课essay代写论文  文科社会学论文代写  英语论文写不出来怎么办

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式