Difference between revisions of "ME 333 Readings, Videos, and Sample Code"

From Mech
Jump to navigationJump to search
Line 8: Line 8:
# [http://www.youtube.com/watch?v=tVInDFCDVZA&feature=youtu.be '''Writing your first program in C, HelloWorld.c'''] (5:09). Chapter A.1. Exercises: 1.
# [http://www.youtube.com/watch?v=tVInDFCDVZA&feature=youtu.be '''Writing your first program in C, HelloWorld.c'''] (5:09). Chapter A.1. Exercises: 1.
# [http://www.youtube.com/watch?v=fjSGtiPb-YY&feature=youtu.be '''Differences between C and MATLAB'''] (7:30). Chapter A.2. Exercises: 2, 3.
# [http://www.youtube.com/watch?v=fjSGtiPb-YY&feature=youtu.be '''Differences between C and MATLAB'''] (7:30). Chapter A.2. Exercises: 2, 3.
# [http://www.youtube.com/watch?v=kC4EoTxnJys&feature=youtu.be '''Binary and hexadecimal (Base 2 and 16)'''] (4:47). Chapter A.3.1. Exercises: 4, 5, 6.
# [http://www.youtube.com/watch?v=kC4EoTxnJys&feature=youtu.be '''Binary and hexadecimal (Base 2 and 16)'''] (4:47). Chapter A.3.1. Exercises: 4, 6.
# [http://www.youtube.com/watch?v=V1mBtAZxHgw&feature=youtu.be '''Data types'''] (5:30). Chapter A.3.1. Exercises: 7, 8, 9, 10.
# [http://www.youtube.com/watch?v=V1mBtAZxHgw&feature=youtu.be '''Data types'''] (5:30). Chapter A.3.1. Exercises: 8, 10.
# [http://www.youtube.com/watch?v=4XleTmp-RR4&feature=youtu.be '''Using the data types'''] (3:49). Chapter A.3.1. Exercises: 11.
# [http://www.youtube.com/watch?v=4XleTmp-RR4&feature=youtu.be '''Using the data types'''] (3:49). Chapter A.3.1. Exercises: 11.
# [http://www.youtube.com/watch?v=jsmCIpBeKjk&feature=youtu.be '''Representations of data types'''] (5:15). Chapter A.3.1. Exercises: 12, 13.
# [http://www.youtube.com/watch?v=jsmCIpBeKjk&feature=youtu.be '''Representations of data types'''] (5:15). Chapter A.3.1. Exercises: 12, 13.

Revision as of 08:25, 13 December 2013

Readings, videos, exercises, and sample code for ME 333 Introduction to Mechatronics.

Appendix: A Crash Course in C

Reading: A Crash Course in C

Videos:

  1. Writing your first program in C, HelloWorld.c (5:09). Chapter A.1. Exercises: 1.
  2. Differences between C and MATLAB (7:30). Chapter A.2. Exercises: 2, 3.
  3. Binary and hexadecimal (Base 2 and 16) (4:47). Chapter A.3.1. Exercises: 4, 6.
  4. Data types (5:30). Chapter A.3.1. Exercises: 8, 10.
  5. Using the data types (3:49). Chapter A.3.1. Exercises: 11.
  6. Representations of data types (5:15). Chapter A.3.1. Exercises: 12, 13.
  7. Pointer basics (5:54). Chapter A.3.2. Exercises: 14, 15.
  8. Sample program: printout.c (5:55). Chapter A.4. Exercises: 17, 18.
  9. Sample program: datasizes.c (2:57). Chapter A.4.
  10. Sample program: overflow.c (2:43). Chapter A.4. Exercises: 19.
  11. Sample program: typecast.c (5:43). Chapter A.4. Exercises: 20, 21, 22.
  12. invest.c, part 1/5: intro to a typical C program (4:18). Chapter A.4.
  13. invest.c, part 2/5: overview (3:58). Chapter A.4. Exercises 23, 24, 25, 26.
  14. invest.c, part 3/5: sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables (4:48). Chapter A.4.
  15. invest.c, part 4/5: sections 5-6: helper function prototypes and the main function (4:40). Chapter A.4.
  16. invest.c, part 5/5: section 7: helper functions (7:42). Chapter A.4. Exercises 27-40.

Sample Code:



Chapter 1: Quickstart


Chapter 2: Looking Under the Hood: Hardware


Chapter 3: Looking Under the Hood: Software


Chapter 4: Using Libraries


Chapter 5: Time and Space


Chapter 6: Interrupts