Lab 6 code.

Dependencies:   mbed

Fork of WaG by GroupA

Changes

RevisionDateWhoCommit message
56:048b30c9f2a1 2018-04-06 spm71 Final update default tip
55:1a25dd75e309 2018-04-05 phn10 complete part 10
54:d5a95bc8ffb0 2018-04-05 spm71 So close...
53:389fe53b2642 2018-04-05 spm71 Revised stepper function;
52:8987e38851e5 2018-04-03 spm71 add repeatability_test() function and part 10 test
51:1eb60f0d2f03 2018-04-03 spm71 test
50:e3a03bc1e1a6 2018-04-03 spm71 Motor updates
49:80d4ffabec16 2018-04-03 spm71 Step motor code update
48:d612de6880b0 2018-03-30 phn10 merge
47:0547118e348e 2018-03-30 phn10 finish function stp_calibrate() in part 9 of lab 6. Haven't tested yet. The constant PTTHRESH is undefined because the laser power is weak and cannot impose 2.2V on sensor
46:85c4b722baa7 2018-03-30 spm71 Part 8
45:54d18ab80fd1 2018-03-29 phn10 merge;
44:4c2ba5bbba67 2018-03-29 phn10 create wag.h, declaring variables, and start working on stp_calibrate() function
43:3b7f326aa096 2018-03-29 spm71 Modified phototransistor test
42:6cba679a4ee4 2018-03-29 spm71 Added laser functions
41:9b293b14b845 2018-03-27 spm71 Stepper test is functional.
40:4e82369f337c 2018-03-23 phn10 testing the function test_phototransistors(). The code works fine, but there are something wrong with Phototransistors, lighting doesn't increase signal voltage. Need to check with Paul.
39:abf211b17e3c 2018-03-23 spm71 Finished LED test
38:57af77435ae1 2018-03-23 spm71 troubleshooting
37:7ec498a322c1 2018-03-22 spm71 Merge
36:ad2b3d6f0e5a 2018-03-22 spm71 Started stepper functions
35:7b562e336a26 2018-03-22 phn10 initial commit on test_phototransisto() function. Still need to test on USER_BUTTON pressed and released at the beginning and at the end of the function.
34:378a49e5b15f 2018-03-22 spm71 Bug hunting
33:0b5188ea34e8 2018-03-22 spm71 Please merge;
32:0dc2b4a3eee6 2018-03-22 spm71 Fixed LED display code
31:4fe43fa66ce8 2018-03-22 phn10 complete function ana_scan_mux()
30:a80e4e3f0d56 2018-03-22 spm71 merge 2
29:58befaac9643 2018-03-22 spm71 Changed utility file
28:0736dfa41aab 2018-03-22 phn10 clear comments after merge
27:a07b27cc6d13 2018-03-22 phn10 merge;
26:3006f5abc0a5 2018-03-22 phn10 complete function ana_init()
25:896dbc85907e 2018-03-22 spm71 Changes to main
24:0691bfc946e9 2018-03-20 spm71 Added analog files
23:3da1d39c1ae9 2018-03-20 spm71 Started code for Lab 6
22:09dd6977576b 2018-03-08 spm71 Final code rework
21:88f9f280931b 2018-03-07 spm71 Bug fixes
20:d23bcd97f2c5 2018-03-06 spm71 implemented menu and first option in the menu.; implementing the second option
19:ad514b1dd53f 2018-03-02 spm71 Oops
18:0e281922212c 2018-03-02 spm71 More implementation on SPI and started stepper files.
17:75d567b60214 2018-03-01 spm71 Initial SPI code
16:dfa9eb1a808d 2018-02-27 phn10 add comment in the program description
15:100321eb2aac 2018-02-27 phn10 add function comment description
14:be27f6e21a8a 2018-02-27 spm71 Updated code for tracking input.
13:8936b2f64aa2 2018-02-27 spm71 Updated BCD 1 code
12:a947a6609a23 2018-02-27 spm71 Changed first bcd function
11:6751b9406142 2018-02-23 phn10 add function send_command_to_display() and fix error in function bin2bcd_array() version 2. The program works except when input number is a 4 digit number;
10:ae0a262ba48d 2018-02-22 spm71 Fixed concurrent functions
9:06c0d5737e5c 2018-02-22 phn10 update the function bin2bcd_array() using sprinf() function
8:d8bc78bda829 2018-02-22 phn10 write function initial_setup() which set LED display to normal operation, spi frequency, and set all LED display numbers to 0.
7:161fe3793ddb 2018-02-22 phn10 remove function bool num_range() because it's no longer necessary.; move all function definitions to .cpp file
6:749a691e2abf 2018-02-22 phn10 change variable to defined constant
5:92cdff7fb885 2018-02-22 phn10 initiate header file display.h
4:0ed77d8b3e42 2018-02-21 spm71 Modified mod function
3:293ff9cb705d 2018-02-21 spm71 Added mod bcd code;
2:b444464ebe67 2018-02-20 spm71 Input converted to int
1:1b05289d0bf5 2018-02-20 spm71 Updated input and set up for two BCD conversion functions
0:ee6e5c60dd2d 2018-02-20 spm71 Initial commit