Trung Nguyen
/
FINAL_PROJECT_4180
asdasdasd
Fork of FINAL_PROJECT_4180 by
main.cpp@10:c3556e27e576, 2016-04-25 (annotated)
- Committer:
- nyengele
- Date:
- Mon Apr 25 01:57:10 2016 +0000
- Revision:
- 10:c3556e27e576
- Parent:
- 9:48e93bcd1d5c
- Child:
- 11:1d7021c0739d
added some additional helpers for hash tables;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nyengele | 0:f0e40bf44ffe | 1 | #include "mbed.h" |
nyengele | 1:0e5e9821d89d | 2 | #include "lib.h" |
nyengele | 1:0e5e9821d89d | 3 | |
nyengele | 1:0e5e9821d89d | 4 | Serial mag_card(p13, p14); |
nyengele | 9:48e93bcd1d5c | 5 | Serial android(USBTX, USBRX); |
nyengele | 9:48e93bcd1d5c | 6 | FPScanner fp(p9, p10); |
nyengele | 9:48e93bcd1d5c | 7 | uLCD_4DGL lcd(p28, p27, p30); |
nyengele | 9:48e93bcd1d5c | 8 | PwmOut speaker(p21); |
nyengele | 9:48e93bcd1d5c | 9 | |
nyengele | 9:48e93bcd1d5c | 10 | // Flash Memory |
nyengele | 9:48e93bcd1d5c | 11 | SPI spi(p5, p6, p7); // MOSI, MISO, CLK |
nyengele | 9:48e93bcd1d5c | 12 | DigitalOut cs(p20); // Chip Select |
nyengele | 0:f0e40bf44ffe | 13 | |
nyengele | 10:c3556e27e576 | 14 | // hash table |
nyengele | 10:c3556e27e576 | 15 | const int MAX_ENTRIES = 100; |
nyengele | 10:c3556e27e576 | 16 | HASH_RECORD records[MAX_ENTRIES]; |
nyengele | 0:f0e40bf44ffe | 17 | |
nyengele | 1:0e5e9821d89d | 18 | int main() |
nyengele | 1:0e5e9821d89d | 19 | { |
nyengele | 9:48e93bcd1d5c | 20 | |
nyengele | 0:f0e40bf44ffe | 21 | } |