Reference no: EM131477131
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.
Attachment:- Assignment File.rar
Find the annual returns of two assets
: Below you will find the annual returns of two assets. Fill in the blanks and graph the returns of the portfolios (rows 13-27).
|
What can you say about rates of obesity and related to place
: What can you say about rates of obesity, related to place, over time? How do parents factor into rise in childhood obesity rates, when considering information?
|
Read a current article which addresses a social media market
: This assignment requires you to locate, and read a current article (no more then one year old), which addresses a social media marketing topic.
|
Calculate the highlaighted cells
: Here is data on the stock prices and returns of General Electric, Boeing and S&P 500 index.
|
Building a simple memory and co-ordination toy
: This assignment is concerned with building a simple memory and co-ordination toy using the STM32F3 Discovery board
|
Explaining how the global financial crisis
: Explaining how the Global Financial Crisis [GFC] has had a significant impact on 1) the stability and interconnectedness of international financial markets and economies
|
Create two generative strategies
: Based on sequencing strategy created for your project, create two generative strategies. Specify generative category used and explain rationale for selection.
|
Describe at least five visual cues from the peer-reviewed
: From the sources you summarized, list and explain at least five visual cues from the peer-reviewed, scholarly source that were not evident in the popular sourc
|
What should be the company share price
: It is 1 January 2005, and you are interested in finding the cost of equity rE of your company. After a quick search you have found the following data.
|