国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

 代做EEE226、java,c++編程代寫

時間:2023-11-26  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



 EEE226 – Engineering Software Design GA Assessment (2023) – V1.4
Assessment 1 requires you to use the knowledge gained so far in the course to build a memory game using the RGB LED and the touch slider. You will be assessed on the progress and quality of your program.
Background
Simon was an electronic game introduced in 1978 (shown in the picture below); it was one of the top-selling Christmas toys in the US that year. The device creates a sequence using the coloured lights, the player has to respond by pressing the coloured lights in the same order. The sequence gets longer through each iteration, with the game ending when the user enters an incorrect sequence. You are going to make a variation of this game where the device creates a sequence of five lights and then repeats the sequence with one missing (replaced by a white light); the player has to select which coloured light is missing. If correct, for the next round the device adds another coloured light to the same sequence and the whole sequence is shown to the user. The device now repeats the sequence with two lights missing; the user has to input the two coloured lights that were missing in the correct order. The game continues with each round the sequence getting longer and the number of lights missing each increasing. The game is over when the user enters the wrong sequence of missing lights.
Figure 1 - Simon game, introduced in 1978 by Milton Bradley (Wikipedia) As an example, a game could go as follows:
Round 1
Simon: green, green, blue, green, red
Simon: green, green, white, green, red
Player: blue – This is OK! In the above sequence, the 3rd (blue) colour was selected as the missing colour and replaced by white for the second sequence.
Round 2
Simon: green, green, blue, green, red, red
Simon: green, white, white, green, red, red
Player: green, blue – This is OK! The 2nd (green) and 3rd (blue) colours were replaced by white
Round 3
Prof. D. Gladwin 30/10/2023 EEE226 – GA Assessment (2023) - V1.4 ©The University of Sheffield
 
Simon: green, green, blue, green, red, red, blue
Simon: green, green, white, white, white, red, blue
Player: red, blue, green – This is not OK, game over! The user entered the incorrect sequence of missing colours. It should have been green, blue, green.
Assignment
The objective is to program the board to play the game as described above. You should present a random sequence to the user using the RGB LED made up of three colours, RED, GREEN and BLUE. The colours will represent three positions on the touch slider.
Left = RED
Middle = GREEN
Right = BLUE
(this is holding the board so that the touchpad is at the bottom)
The following specification should be met:
- There should be an indication using the RGB LED that the game is about to start. You must use more colours than just RED, GREEN, & BLUE. This must be done using PWM control of the LED to blend colours together. See information at end of this document on how to mix colours with the RGB LED. Make it clear that the sequence is about to be repeated.
- The sequence should start with a length of 5 and increase by one each time, add the new colour to the end of the sequence.
- The sequence should be different every time a new game is played, if I restart the board I shouldn’t get the same sequence. This includes the colours that are missing in the repeated sequence.
- The player should see a confirmation of the slider position they have pressed (i.e. RGB LED shows red briefly when the left-side of slider is pressed).
- The game should be coded so that double touches/movement on the slider are not counted as additional inputs to the response sequence. There is a document on blackboard to help you with this.
- The game is over when the player enters the wrong sequence and this is indicated by the RGB LED doing something interesting.
- The game should restart after a short pause and a touch of the slider.
Q&A
Q1 – Can I use different colours for the slider positions?
A1 – No, I have over 160 of these to mark, if you want the marks back in a reasonable time then I need them all to be the same to test!
Q2 – Can I use different colours to show game progress, for example yellow for about to start?
A2 – Yes, you must use different colours and I have provided information at the end of this document to help you. Just make sure you stick to the three position colours I have stated above. You will get the opportunity when you submit your work to tell me what they mean, however, the marking rubric shows marks for the game interface which should be intuitive.
Q3 – This is crazy, the touchpad is not accurate enough?
A3 – Yes it is. Don’t just divide the slider into three equal areas, create a larger area for the middle as you know that you can touch the extreme edges for the other positions.
Q4 – The touchpad is registering two or more touches when I only press once?
A4 – You can alter the settings in processor expert but better still, write some code to deal with fact that this happens – I have provided a document in BB to help. I will be looking at the reliability of your code in detecting this. You can also put insulation tape over the touchpad, this has had good results. Try to avoid touching the freedom board circuity with the other hand, I use Blu Tack to stick the board to my desk.
Q5 – I have tried to make a random sequence but it isn’t random does it matter?
A5 – Yes it matters, think about how you can set the seed of your random number generator differently each time the game is started.
 Prof. D. Gladwin 30/10/2023 EEE226 – GA Assessment (2023) - V1.4 ©The University of Sheffield

 Q6 – Does it matter if I add the next colour at the end of the sequence or the beginning?
A6 – You need to add the new colour at the end of the sequence. If you start with red,blue,red,green,blue for round 1, then in round 2 if you add green the new sequence will be red,blue,red,green,blue,green.
Q7 – Can the missing colours start at the 1st colour position.
A7 – Yes, the start of the missing colours should be selected at random from anywhere in your sequence of colours. For example if you had red,blue,red,green,blue,green for round 2 then you could display white,white,red,green,blue,green. The missing colours do need to be consecutive.
Q8 – Can I make different levels of gameplay?
A8 – Yes, you can make the game as sophisticated as you like. You must however make sure the basic specification above is clearly demonstrated.
Q9 – How many rounds should be possible?
A9 – I think I have the skills.... 50 rounds please.
Uploading your assessment
When you have completed the assignment you should navigate using windows explorer (or mac equivalent) to your workspace directory. From there zip the contents of your project folder as shown below and call it ‘username_assigment1’, for example, ‘ela09jh_assignment1’. Do not try to change the name of your project within KDS as it will break, you only need to change the name of the zip file that you uplaod. Check by opening the zip file that it contains all your files and folders, it should be approx. 3-5MB in size. In blackboard you will find an ‘Assignment 1’ folder which a final submission test. Start the test and you will be asked to upload your zip file and fill in some text boxes. When this is done remember to ‘Submit’ your test.
HINT: Note that zipping your project folder is also a method of backing up your work as you progress and a good idea to get into the habit of doing it for future projects. If you are unsure about how to create a zip file have a look on Google. A free recommended archiving utility available for windows is ‘7zip’.
Time allocation
Tuesday 31 October – you may have the other labs to complete but do read through this document carefully. Tuesday 7 November – 2 hours in lab
Tuesday 14 November – 2 hours in lab
Tuesday 21 November – 2 hours in lab
Expect to spend between 6 and 12 hours to complete the assessment in your own time depending on your previous experience.
DEADLINE FOR SUBMISSION – Friday 15th December 2023 @ 23:30
The assignment 1 submission tests will automatically close at 23:30 and you will not be able to submit any more work. Late submission will not be accepted and you will receive marks only for work that has been uploaded before the deadline. You will receive your marks before the Easter break in semester 2 as each one has to be downloaded, compiled and tested which takes a long time. There will be feedback posted to your mark in blackboard which you will be able to view by clicking on ‘My Grades’ and then clicking on the ‘Assessment 1’ score.
Prof. D. Gladwin 30/10/2023 EEE226 – GA Assessment (2023) - V1.4 ©The University of Sheffield

Mixing colours
All colours can be represented by the RGB colour model. You can see an example of this if you look at the colour palette in most software programs such as the font colour selector in Microsoft Word. If you create a custom colour by moving the mouse around the colour chart you will see the values of red, green and blue changing. These values represent the intensity of each colour from 0 meaning off to 255 fully on. As the Freedom board has a RGB LED you should be able to create any colour with it similarly using the RGB model. You will need to vary the intensity of each LED independently, a method to do this is to use pulse-width modulation (PWM) as shown below.
 Figure 2 – PWM controlled LED
STUDY: If you are unfamiliar with PWM do some research on the topic
PWM control of LED
In a microcontroller a hardware PWM signal is generated using a comparator feature of the timers. A basic block diagram is shown below in Figure 2. The primary clock signal is scaled through a prescaler to slow it down and is generally a power of 2. In Processor Expert this value is configured automatically when you set the period time length of the timer unit used for PWM generation. The timer counts up until it reaches its maximum value and then starts again from zero producing a sawtooth waveform as shown in Figure 3. In your program you will specify the duty cycle required, this value is stored as a registry value. This registry value and the current value of the timer are compared and when the timer reaches the value in the registry the output of the PWM is set high. When the timer is reset to 0 the comparator result will also reset causing the PWM output to go low. The PWM output generated from two different duty cycle levels are shown in figures 3 and 4. Each timer unit on the KL25Z support 2 channels of comparator to be used with two PWM signals.
Figure 3 – Hardware PWM generation in Microcontrollers

請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代做6CCS3AIN MDP-solver
  • 下一篇:ECE1747H代做、代寫python,Java程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    精品欧美日韩在线| 国产精品日韩专区| 国产成人av网址| 97碰碰碰免费色视频| www亚洲国产| 97久久国产精品| 久久久一本二本三本| 亚洲国产精品久久久久婷蜜芽| 久久精品日产第一区二区三区精品版| 欧美日韩精品免费观看| 亚洲美女网站18| 精品国产一区二区三区久久久| 国产精品久久国产精品99gif| 久久久伊人欧美| 一道精品一区二区三区| 日韩欧美一区二区三区四区五区| 91av在线网站| 日韩精品国内| 国产免费一区视频观看免费| 色噜噜狠狠狠综合曰曰曰| 久久伦理网站| 日韩中文字幕三区| 久久久久久久久久久免费| 五月天在线免费视频| 国产成人精品视频免费看| 国产又大又硬又粗| 亚洲综合色av| 日韩在线视频二区| 欧美日韩精品免费在线观看视频| 国产精品久久久久久久久久小说 | 久久另类ts人妖一区二区| 国产自偷自偷免费一区| 成人免费无码av| 91久久精品国产| 精品国产乱码久久久久久丨区2区| 国产精品美女黄网| 亚洲色欲综合一区二区三区| 一区二区三区四区不卡| 国产精品情侣自拍| 日韩中文综合网| 91精品91久久久久久| 久久久免费观看| 男女猛烈激情xx00免费视频| 欧美一区视久久| 日本一区精品| 欧美不卡三区| 日韩av电影在线观看| 亚洲国产一区二区三区在线播| 91九色在线免费视频| 国产日本欧美一区二区三区| 欧美精品一区在线| 国自在线精品视频| 动漫一区二区在线| 欧美二区三区| 国产精品一区二区三区免费| 精品自在线视频| 中文字幕一区二区三区乱码 | 国产欧美自拍视频| 中文字幕日韩一区二区三区| 色噜噜狠狠狠综合曰曰曰88av | 国产美女三级视频| 日韩欧美一区二区在线观看| 7777精品视频| 日韩黄色片在线| 久久欧美在线电影| 精品视频免费观看| 欧美精品亚州精品| 久久久久一区二区| 97久久精品国产| 欧美国产一二三区| 久久手机精品视频| 都市激情久久久久久久久久久| 日韩精品在线视频免费观看| 天堂一区二区三区| 国产ts一区二区| 日本黄网免费一区二区精品| 国产一二三区在线播放| 在线不卡日本| 伊人婷婷久久| 亚洲AV无码成人精品一区| 一级日韩一区在线观看| 欧美激情视频给我| 亚洲激情一区二区| 午夜精品一区二区在线观看的| 亚洲欧洲一区二区福利| 无码内射中文字幕岛国片| 欧美专区第一页| 亚洲国产高清国产精品| 久久涩涩网站| 欧美亚洲日本网站| 中文字幕色呦呦| 91av在线网站| 欧美亚洲国产成人| 亚洲成熟丰满熟妇高潮xxxxx| 爽爽爽爽爽爽爽成人免费观看| 国产精品一区二区久久久久| 日韩亚洲欧美精品| 国产精品久久综合av爱欲tv| 精品视频无码一区二区三区| 一区二区国产日产| 欧美亚洲成人精品| 亚洲精品偷拍视频| 日韩精品久久一区| 国产精品电影在线观看| 日韩在线欧美在线国产在线| 精品久久中出| 国产精品一线二线三线| 韩国成人一区| 欧美一区二区三区四区在线| 日本一区免费看| 国产精品视频资源| 久久精品一二三区| 久久久久免费看黄a片app| 日本久久久久久久| 久久伊人一区二区| 日韩av免费在线看| 精品产品国产在线不卡| 免费毛片网站在线观看| 久久99精品久久久久久青青日本| 欧美精品激情在线观看| 国产精品自拍片| 亚洲精品视频一区二区三区| 国产精品999视频| 色综合久久久久久久久五月| 久久久久一区二区三区| 欧美精品亚洲| 欧美日韩国产999| 国产黄色特级片| 色综合久久av| 欧美精品一区二区三区在线看午夜| 精品日本一区二区三区| 成人免费91在线看| 99国产在线| 久久久久久av无码免费网站下载| 国产v综合v亚洲欧美久久| 亚洲一区国产精品| 国产日韩欧美在线看| 国产成人综合精品在线| 精品国产免费一区二区三区| 日韩不卡一二区| 黄色一级大片在线观看| 黄色影视在线观看| 国产一级片91| 国产免费黄色小视频| 国产精品二区在线| 99视频在线免费| 日本一区二区三区四区高清视频| 北条麻妃在线一区二区| 久久国产精彩视频| 91精品久久久久久久| 免费久久久久久| 欧美一级免费播放| 一区视频二区视频| www.精品av.com| 91久久久久久久| 99精品一级欧美片免费播放| 国产日本欧美一区二区三区| 欧美一区二区综合| 欧美一级黄色影院| 国产一区自拍视频| 国产成人精品视频免费看| 日本精品久久久久影院| 国产在线欧美日韩| 国产精品入口尤物| 日本一区二区三区免费看 | 久久精品国产成人| 日本精品久久电影| 日韩色av导航| 国内精品伊人久久| 久久久久久久影院| 一区二区精品免费视频| 婷婷精品国产一区二区三区日韩 | 一本大道熟女人妻中文字幕在线| 久久人91精品久久久久久不卡| 精品视频在线观看一区二区 | www日韩欧美| 99国产视频在线| 国产素人在线观看| 国产原创中文在线观看| 日韩在线高清视频| 国产99久久精品一区二区 夜夜躁日日躁 | 久久精品2019中文字幕| 日本精品免费在线观看| 色偷偷噜噜噜亚洲男人的天堂| 欧美亚洲另类视频| 亚洲AV无码成人精品一区| 久久久性生活视频| 欧美一级片久久久久久久| 国产精品免费看一区二区三区 | 肉大捧一出免费观看网站在线播放| 国产综合视频在线观看| 国产欧美日韩中文字幕在线| 久久伊人91精品综合网站| 欧美精品中文字幕一区二区| 一区二区三区四区国产| 日本精品久久久| 国产麻豆乱码精品一区二区三区| 7777奇米亚洲综合久久| 欧美精品激情视频| 欧美亚洲一二三区|