Mercurial > louis > kiibohd-controller
comparison Scan/MDErgo1/scan_loop.c @ 359:b4f66a698f36
Adding preliminary MDErgo keymap
- Required updates to CMake in order to handle the multi-layer BaseMaps
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Thu, 06 Aug 2015 00:36:37 -0700 |
parents | df78f3312db0 |
children | 23a1868b4ac2 |
comparison
equal
deleted
inserted
replaced
358:32dfab699fc0 | 359:b4f66a698f36 |
---|---|
54 { | 54 { |
55 // Setup UART Connect, if Output_Available, this is the master node | 55 // Setup UART Connect, if Output_Available, this is the master node |
56 Connect_setup( Output_Available ); | 56 Connect_setup( Output_Available ); |
57 | 57 |
58 // Setup GPIO pins for matrix scanning | 58 // Setup GPIO pins for matrix scanning |
59 //Matrix_setup(); | 59 Matrix_setup(); |
60 | 60 |
61 // Setup ISSI chip to control the leds | 61 // Setup ISSI chip to control the leds |
62 LED_setup(); | 62 LED_setup(); |
63 | 63 |
64 // Setup the ST/NHD lcd display | 64 // Setup the ST/NHD lcd display |
71 | 71 |
72 // Main Detection Loop | 72 // Main Detection Loop |
73 inline uint8_t Scan_loop() | 73 inline uint8_t Scan_loop() |
74 { | 74 { |
75 // Scan Matrix | 75 // Scan Matrix |
76 //Matrix_scan( Scan_scanCount++ ); | 76 Matrix_scan( Scan_scanCount++ ); |
77 | 77 |
78 // Process any interconnect commands | 78 // Process any interconnect commands |
79 Connect_scan(); | 79 Connect_scan(); |
80 | 80 |
81 // Process any LED events | 81 // Process any LED events |