CMPE13, Winter 2013, Section 01: Labs


This class should be a lot of fun, and also a lot of work (think: drinking from the firehose). There is a lot of material to cover and only 10 weeks to get you familiar and confident in programming in C. Prepare to spend over 20 hours a week on this class, less at first, much more towards the end. We will make every attempt to help you, and to ensure that you succeed, but you have to put in the work yourselves.

You must be enrolled in CMPE 13L to remain in this class. You must pass CMPE 13 to pass CMPE 13L, and you must pass CMPE13L to pass CMPE13. You will receive the same grade for both the lab and the class. In addition to the class lectures, you are expected to attend lab section at least once a week. You are also encouraged to go to additional lab sections as space allows.

We will be working with a 16 bit microcontroller, the MicroChip PIC24, using a full simulator provided by Labcenter Electronics.

Late Policy

Labs are to be submitted by midnight the Sunday after they are assigned. Late labs can recieve half credit up until noon the next day.  After that, labs will be scored 0.


This software will be used during the class and can be installed on your own machines. All of the software is free, and provides here for your convinence.

Lab Assignments

  1. Lab 0 - Hello World: Due January 13th, 2013 @ 11:59pm
  2. Lab 1 - Calculator: Due January 20th, 2013 @ 11:59pm
  3. Lab 2 - Bounce: Due January 27th, 2013 @ 11:59pm
  4. Lab 3 - Matrix Math: Due February 3rd, 2013 @ 11:59pm
  5. Lab 4 - RPN Calculator: Due February 10th, 2013 @ 11:59pm
  6. Lab 5 - Linked List: Due February 17th, 2013 @ 11:59pm
  7. Lab 6 - LCD: Due February 24th, 2013 @ 11:59pm
  8. Lab 7 - Battle Boats: Due March 3rd, 2013 @ 11:59pm
  9. Lab 8 - Morse: Due March 10th, 2013 @ 11:59pm
  10. Lab 9 - RPG: Due March 17th, 2013 @ 11:59pm