Denver trai project

Dependencies:   mbed TextLCD

Revisions of main.cpp

Revision Date Message Actions
68:9859a3ff9298 2018-06-26 AFC&ALC Working File  Diff  Annotate
67:7ff2425141ce 2018-06-26 Added NAC for (D5 and D11) and (D3 and D9) File  Diff  Annotate
66:45a90a945983 2018-06-26 AFC maybe working and flip_switch 3 added exception File  Diff  Annotate
65:8fd4046c6540 2018-06-26 these things worked File  Diff  Annotate
64:be1015efd974 2018-06-25 ALC action push File  Diff  Annotate
63:86f8dfa007ac 2018-06-25 ALC detection push; File  Diff  Annotate
62:6fc0c683cb02 2018-06-25 AFc etc etc File  Diff  Annotate
61:ecd2fc4a1a81 2018-06-25 fbfnhnhnr File  Diff  Annotate
60:a1b987ad45fb 2018-06-25 AFC half implemented. Needs -SW3 exceptioin and new situations. File  Diff  Annotate
59:032005c5a495 2018-06-21 void File  Diff  Annotate
58:b60db1092088 2018-06-21 code maintenance; File  Diff  Annotate
57:ee5da8a011e0 2018-06-21 changes thursday File  Diff  Annotate
56:fe999806787d 2018-06-21 enable fix push; File  Diff  Annotate
55:aa3baa01f43d 2018-06-21 Both trains are detected. Apparently NAC is detected. File  Diff  Annotate
54:fbec50ae6fb6 2018-06-20 Comments UPTODATE File  Diff  Annotate
53:1ffd622bab24 2018-06-20 In thoery it should work DR detection File  Diff  Annotate
52:c08495446f87 2018-06-20 Ommitting when we read the sensor twice. File  Diff  Annotate
51:badef9fc202f 2018-06-20 Added fast speed and full speed instructions; File  Diff  Annotate
50:ee4398ee44be 2018-06-20 Enable added - init to 1 first line of main File  Diff  Annotate
49:880c0b9c9c64 2018-06-20 Train detection works File  Diff  Annotate
48:553716e13d45 2018-06-19 Train detection should be working. File  Diff  Annotate
47:e992a129ef44 2018-06-18 Comments UPTODATE File  Diff  Annotate
46:7a0933676b13 2018-06-18 UPTODATE; File  Diff  Annotate
45:d589318238bf 2018-06-18 Changes commented code maintenace UPTODATE File  Diff  Annotate
44:94870081aece 2018-06-18 Merged (replaced) with previous commit. Sensors should be detected(not tested) and NAC and AFC implemented(needs to add same logic for LR train) File  Diff  Annotate
43:346a1f4144cd 2018-06-18 Fixed position getting(not tested) added NAC and AFC(need to add same situation for train LR) File  Diff  Annotate
42:b445252a772a 2018-06-18 Comment fix and UPTODATE File  Diff  Annotate
41:4fa6aa29d1ed 2018-06-14 Error in line 395 get_next_sensors.size() File  Diff  Annotate
40:9acc1341456a 2018-06-14 mergepush finally? File  Diff  Annotate
39:9cce8f2c50b6 2018-06-14 mergepush File  Diff  Annotate
38:b9aba3715682 2018-06-14 Constructor for class moved up to var decl. comments UPTODATE File  Diff  Annotate
37:bb15bea420a3 2018-06-14 Comment fix and delete of unused function File  Diff  Annotate
36:9428c72bdd58 2018-06-14 Train detection implemented; File  Diff  Annotate
35:cfcfeccb959e 2018-06-14 Created class position and sensors initialized. File  Diff  Annotate
34:c9ab2a987734 2018-06-13 Defined interrupts names File  Diff  Annotate
33:24ce12dec157 2018-06-13 New interrupts programmed File  Diff  Annotate
32:e5b732fb8e65 2018-06-12 Added second train File  Diff  Annotate
31:7637861f4dc7 2018-06-12 pos_trains initial approach File  Diff  Annotate
30:293ee760d357 2018-06-12 Updated flipSwitch function so it can also flip switches back. File  Diff  Annotate
29:559eb2164488 2018-06-12 Delete all switch function. No use. File  Diff  Annotate
28:71bd4c83c05f 2018-06-12 fix File  Diff  Annotate
27:f51397917a52 2018-06-12 Global array for train positions File  Diff  Annotate
26:5c966a0a3e8e 2018-06-11 Added function to check position of 0s File  Diff  Annotate
25:a42a1ed4d8e9 2018-06-11 Global variables declared and overall fix of comments and code tabulation. Everything is more readable. File  Diff  Annotate
24:1d71dd8778c4 2018-06-11 Fixed comments and code and some tabs File  Diff  Annotate
23:3fe9e76e06f2 2018-06-11 Commiting on Monday File  Diff  Annotate
22:e4153ca757dd 2018-06-11 Monday commit File  Diff  Annotate
21:e6f1649add39 2018-06-08 Switches but errors in code File  Diff  Annotate
20:608ab9bf340d 2018-06-07 merged miguel and carlos File  Diff  Annotate
19:ff21ba3a4dc5 2018-06-07 Added DCC vars for switches File  Diff  Annotate
18:aa43bb62e60f 2018-06-07 Interrupt with buzz now compiling File  Diff  Annotate
17:0a657e338356 2018-06-07 Interrupt with buzzing File  Diff  Annotate
16:2a2da0e67793 2018-06-07 Second time with interrupt File  Diff  Annotate
15:700cfb65da5f 2018-06-07 Interrupt implemented File  Diff  Annotate
14:7bb998edd819 2018-06-07 main program tab fix and comment fix File  Diff  Annotate
13:dbf1ead12cee 2018-06-07 tagss File  Diff  Annotate
12:e914ca5cd44b 2018-06-07 tags File  Diff  Annotate
11:021210c59a95 2018-06-07 Separated file in 3 parts (declarations, functions and main program), added some comments about the components, added buzzer and pins - UPTODATE File  Diff  Annotate
10:2088b1935a93 2018-06-07 Declarations Uptodate File  Diff  Annotate
7:e2b8461d4f05 2018-06-07 Pins up with delarations in the beginning of file - KEEP UPTODATE File  Diff  Annotate