Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>One simple option is to go for games. They can always use several devices, such as mouse, keyboard, timers, graphics card and (depending what you do) the RTC.</p> <p>Another option is to go for a "music composer" application. For instance, you could write (using the keyboard and mouse) a song(note frequency, duration) and then let the computer speaker play it.</p> <p>You could also go for a "clock/calendar application". It could draw a clock in the screen(which might be harder than it might look if you draw an analog one on the screen), and then let the user adjust the time of the day(saving the changes in the RTC). The clock could also include alarm and some ticking sound. As for the calendar, you could also allow the user to create "events" in the calendar, which <em>could</em> work a bit like alarms.</p> <p>You could also try to write your own "notepad"-like application. This would require having a working GUI(write area, menus, etc.). This could either be in text or graphics mode. You could detect the keyboard being pressed to add character, handle CAPS LOCK(giving you the opportunity to mess up with the keyboard LEDs). You could use mouse position/clicks to change position in text editor or trigger menus. Then timers to have the blinking caret in the text editor. Clicking a disabled menu option could cause a short speaker sound to indicate an invalid action.</p> <p>I'd recommend writing most of the code in C, except for little bits in Assembly. ISRs are a good opportunity for Assembly code.</p> <p>Regarding state machines:</p> <ol> <li>Games can have many states ("Main Menu", "Playing Game", "Pause Menu", "High scores") with well defined transitions between states.</li> <li>A music composer could have some states too("Stop", "Pause", "Playing")</li> <li>A clock application could have states such as "Show Clock", "Show Calendar", "Alarm Message Box", "Event Message Box", "Event Message Box With Pending Alarm.</li> <li>The notepad application could have states such as "Editing Text", "In Menu" or "In Message Box")</li> </ol> <p>Most of the devices you mentioned can be accessed with interrupts. Unfortunately, I can not think of good opportunities for polling...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload