Book All Semester Assignments at 50% OFF! ORDER NOW

Code, comments and logical structure

  • 0.5 pts Majority of functions have descriptive comments or are named in such a way that explains the function's intent
  • 0.5 pts Inline comments relevant and easy to understand and used where appropriate
  • 0 pts Not divided into appropriate functions (repeated code sections) / modules using different files.
  • 0.5 pts General structure tidy, succinct, and clear
  • 0.5 pts Variables mostly scoped appropriately, but with some deviations from best practice, such as overuse of global variables or having unused variables or unnecessary memory allocation

Use of pre-defined bitmasks and group configurations

  • 0.5 pts Use of pre-defined bitmasks
  • 0.5 pts Use of pre-defined group configurations

Integer types and appropriate arithmetic operations

  • 1 pt Only fixed-width integers defined in stdint.h were used
  • 0.5 pts No integer division was used
  • 0.5 pts No floating point values or operations were used

State machine usage

  • 0.5 pts Appropriate use of enumerated type(s) in a switch-case statement(s) (char switch cases are ok).
  • 0.5 pts Default cases are defined in all state machines to handle invalid states appropriately.
  • 1 pt State machine/s have been fully implemented and have appropriate states, especially for the main program execution.

Efficient coding practices

  • 0.2 pts 3. Unnecessary reads from, or writes to, registers are avoided
  • 0.1 pts 4. Buzzer frequencies are appropriately varied and the buzzer is efficiently enabled/disabled
  •  0.1 pts 5. LED segments are controlled via an interrupt-driven SPI
  • 0.1 pts 6. The potentiometer position is efficiently read and appropriately converted to an interpolation of its position
  • 0.3 pts 8. Related conditional statements are consolidated effectively
  • 0.3 pts 9. Conditional expressions/statements are correctly identified and implemented

Related Topic:- Assessment 2 - Microcontroller Project


Get Quote in 5 Minutes*

Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
Upload your assignment
  • 1,212,718Orders

  • 4.9/5Rating

  • 5,063Experts


  • 21 Step Quality Check
  • 2000+ Ph.D Experts
  • Live Expert Sessions
  • Dedicated App
  • Earn while you Learn with us
  • Confidentiality Agreement
  • Money Back Guarantee
  • Customer Feedback

Just Pay for your Assignment

  • Turnitin Report

  • Proofreading and Editing

    $9.00Per Page
  • Consultation with Expert

    $35.00Per Hour
  • Live Session 1-on-1

    $40.00Per 30 min.
  • Quality Check

  • Total

  • Let's Start

Get AI-Free Assignment Help From 5000+ Real Experts

Order Assignments without Overpaying
Order Now

My Assignment Services- Whatsapp Tap to ChatGet instant assignment help