Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CAN YOU HELP ME ME CODE WORK IN ASSAMBLY IS TO MSP430 The One Digit Roulette You need to design a single-digit roulette simulator. To

CAN YOU HELP ME ME CODE WORK IN ASSAMBLY IS TO MSP430

image text in transcribed

image text in transcribed

The One Digit Roulette You need to design a single-digit roulette simulator. To play with the simulator, the user must spin the roulette. For spinning feedback, the system must sequentially turn on and off segments used to display zero in a seven-segment LED display device - one segment at a time in clockwise order. Every time a segment turns on, the simulator must produce an audible click mimicking clicks produced by a spinning roulette. Spin speed must decelerate from fast to zero with three fast clicks, three medium ones, two slow ones, and an extra slow one. After the final click, system output must change into a random decimal digit using the stroke display effect from assignment #4. The simulator must indicate also whether the output number is red or black. The player must not be able to interrupt a spin by starting a new one. Use the rnddig random number generator in the next page to implement your system. 4 21 2 Figure 1. The seven-segment roulette display The One Digit Roulette You need to design a single-digit roulette simulator. To play with the simulator, the user must spin the roulette. For spinning feedback, the system must sequentially turn on and off segments used to display zero in a seven-segment LED display device - one segment at a time in clockwise order. Every time a segment turns on, the simulator must produce an audible click mimicking clicks produced by a spinning roulette. Spin speed must decelerate from fast to zero with three fast clicks, three medium ones, two slow ones, and an extra slow one. After the final click, system output must change into a random decimal digit using the stroke display effect from assignment #4. The simulator must indicate also whether the output number is red or black. The player must not be able to interrupt a spin by starting a new one. Use the rnddig random number generator in the next page to implement your system. 4 21 2 Figure 1. The seven-segment roulette display

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions