-/* Copyright (C) 2014-2015 by Jacob Alexander
+/* Copyright (C) 2014-2016 by Jacob Alexander
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Connect_setup( Output_Available );
// Setup GPIO pins for matrix scanning
- //Matrix_setup();
+ Matrix_setup();
// Setup ISSI chip to control the leds
LED_setup();
inline uint8_t Scan_loop()
{
// Scan Matrix
- //Matrix_scan( Scan_scanCount++ );
+ Matrix_scan( Scan_scanCount++ );
// Process any interconnect commands
Connect_scan();
Scan_scanCount = 0;
}
+
+// Signal from the Output Module that the available current has changed
+// current - mA
+void Scan_currentChange( unsigned int current )
+{
+ // Indicate to all submodules current change
+ Connect_currentChange( current );
+ Matrix_currentChange( current );
+ LED_currentChange( current );
+ LCD_currentChange( current );
+}
+