Tips in Week 5
C troubleshooting
- Instead of modifying an old program (that works!!!), make a new copy of an old one. Now you are saving the one that works and can always go back to that one, and copy pieces from it.
- Keep it simple. Make one thing work at a time. Despite the pre-lab encouragement to come up with a complete program, start out in lab by doing something simpler. E.g. resources/SketchesMenus/turn2sec.
Oscilloscope learnings (and diode measurements...)
- "Zero" of signal
- Probe settings on probe, and on oscilloscope menus for each channel. Set both to "1X".
- How to change the options
Diode circuits
Consider After getting everything working on the scope (finally):
if (! $homepage){
$stylesheet="/~paulmr/class/comments.css";
if (file_exists("/home/httpd/html/cment/comments.h")){
include "/home/httpd/html/cment/comments.h";
}
}
?>