Encerrado

interfacing and real time programming

Write a C program 1. Set the 8 switches on the 68HC12 Laboratory Trainer to 0 (down) prior to running your program [Port-D 0x05, DDRD 0x07]. NOTE: incorporate Software Debouncing (~10-20 mSeconds) in reading ALL switch settings below. 2. Activation of the (leftmost) most-significant (bit#7) switch should display your name on the 68HC12 Trainer Front Panel LCD [Data: Port-H 0x24, DDRH 0x25; Control: Port-T 0xAE, DDRT 0xAF]. 3. Activation of bit#6 should flash your student number at a 1-second rate (HINT: base your delay routine on Michael's LED Chaser sample/test program i.e. software timing loop - recall 8MHz clock). 4. Activation of bit#5 should scroll a (pre-buffered) message (R-->L) telling me what your favourite film and/or television program is, and why. 5. Activation of bit#4 should start the LEDs counting (up from 00 if bit#3=0; down from FF if bit#3=1) [Port-J 0x28, DDRJ 0x29]. 6(a). Activating bit#2 should start a "LEDs chaser" program (a la Michael's), simultaneoulsy displaying special (non-printable ASCII) characters ??" either pre-defined (CG) or your own (DDRAM), or 6(b) ADVANCED (OPTIONAL) - Activating bit#1 should start a simple graphics "game"/display (e.g. PacMan, Pong .....) - here's your chance to be creative! NOTE: this will necessitate creating your OWN user-defined bit-mapped "character" patterns (maximum of 8 possible). Ignore part-7 below if necessary (i.e. in order to provide more functionality). 7. Activation of bit#1 should reflect the switch setting as an ASCII character on the LCD panel. 8. Activation of the (rightmost) least-signifcant (bit#0) switch should terminate your program (cleanly), returning the user to the Monitor program. ASSESSMENT: You can use Michael Milway's (LCD) Monitor routines in the early stages of your program development, however to earn >= half marks, you will need to develop your OWN LCD routines eventually, based on the information given in lectures and/or the 68HC12 Laboratory(Library Reserve) documentation. ASSIGNMENT SUBMISSION: (i) demonstrate your working program to the Lecturer AND (ii) submit a hard copy version for assessment. NOTE: your code listing should be extensively commented (for ease of readability), and incorporate in your program header: (a) name, student#, subject name & number, assignment name & number (b) (pseudo-code) algorithm description (c) register, memory & subroutine usage summary (d) user guide, & (e) appropriate commenting throughou

## Deliverables

i want code within 3 days and should run on my environment

## Platform

Dell pc 350+ Mhz Pentium||| with eathernet network card target machine MC68HC12- based trainers connect to PC via RS232 serial port

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Veja mais: write programming code, working for dell, working at dell, what's an algorithm, what is r programming, what is network programming, what is game programming, what is a programming algorithm, what is an algorithm in programming, what is a loop in programming, what is a library in programming, what is algorithm in programming, what is algorithm development, what is a algorithm in programming, use of algorithm in programming, the reserve network, television programming, switch c programming, start programming, start php programming

Acerca do Empregador:
( 0 comentários ) Australia

ID do Projeto: #2862580