cs作业代写_matlab代做_machine learning代写

STM32F3作業代做、LEDs留學生作業代寫、代做Python,Java編程作業、代寫c/c++程序設計作業 代做Database|代做SPSS

- 首頁 >> 其他
159.233 Assignment 2
Due 6th May 2019
This assignment is concerned with building a simple memory and co-ordination toy using the STM32F3 Discovery board
The board should do the following:
When powered on, the 8 LEDs should spin in a circle until the blue button is pressed.
When the button is pressed, a random sequence of LEDs will light up. Only LD3,LD7,LD10, and LD6 (PE9, PE11,PE13 and
PE15) can be in the sequence and each LED in the sequence must be different to the previous one. Each LED must be lit for
500ms. The sequence cannot be the same each time the program is run.
After the sequence has been played, the user has to tip the board to recreate it. Initially all the LEDS will be off. One of the 4
LEDs will light up when the board is tipped towards it (use a threshold of 200 in the x and y direction from the accelerometer
with a 2G full scale sensitivity). When the accelerometer detects that the board has been tipped towards an led for more than
500ms it will go off. If it is the correct LED for the sequence, the next LED in the sequence will be detected until they are all
correct. If an incorrect LED is detected, the correct LED will be lit for 500ms and the toy will return to the initial spinning
loop.
The initial sequence will show 3 LEDs, if the sequence is recreated correctly, a sequence of 4 LEDs will be shown, then 5, then
6 and finally 7. If the user recreates a 7 LED sequence, all the LEDs will flash repeatedly on and off for 200ms until the button
is pressed.
You must submit a single file which will compile using the online mbed compiler (https://os.mbed.com/). Use only the library
available here:
https://os.mbed.com/users/MartinJohnson/code/STM32F3-Discovery/
If you want a more challenging assignment and have a VGA cable and monitor, as an alternative to the above you can submit a
port of an arcade game of your choosing, e.g. Asteroids (https://en.wikipedia.org/wiki/Asteroids_(video_game)) or Breakout
(https://en.wikipedia.org/wiki/Breakout_(video_game)) Use the accelerometer and user button as controls. Use the space
invader demo here for the video/graphics:
https://os.mbed.com/users/MartinJohnson/code/Space_Invaders_Demo/
or the colour video demo here:
https://os.mbed.com/users/MartinJohnson/code/Colour_Video_Demo/
The connections to the VGA cable are described in comments at the start of video.c in both examples (the colour connections
are different).
Marks will be awarded for well written programs which correctly implement the toy or game. Use comments in your code to
document it. Marks will be subtracted for plagiarism, late submission and bad documentation.
M Johnson 2019

在線客服

售前咨詢
售后咨詢
微信號
Essay_Cheery
微信
马来西亚代写,essay代写,留学生网课代修代考,论文代写-小精灵代写 美国Assignment代写,Economic代写,留学作业代写-RMTNR北美代写 美国作业代写,网课代考,cs代写,论文代写-ESSAYSHIFU 墨尔本代写,博士论文代写,网课代修,exam代考-熊猫代写 悉尼essay代写,CS代码代写,CS编程代写-熊猫人代写 澳洲CS assignment代写,c++/c代写,python代做-SimpleTense 悉尼代写,商科assignment代写,网课代修,论文加急-OnlyEssay 澳洲作业代写,essay代写,网课代修,exam代考-ESSAYSHIFU 代写essay,代写assignment|DRS英国论文代写留学推荐网站 Assignment代写,【essay代写】美国作业代写-留学代写ESSAY网