-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update source file headers with github link.
- Loading branch information
Showing
11 changed files
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: displaymodule.c | ||
* Info: Seven segment display related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -234,4 +234,4 @@ VOID clearDisplay(PUCHAR valueSet, UCHAR valueSize) | |
valueSet[tempPos] = 0xFF; | ||
tempPos++; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: displaymodule.c | ||
* Info: Seven segment display related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -25,4 +25,4 @@ VOID clearDisplay(PUCHAR valueSet, UCHAR valueSize); | |
VOID setEditSegment(UCHAR segmentId); | ||
VOID setBlickState(UCHAR isActive); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: main.c | ||
* Info: Main firmware module with applicaion entry point. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
/************************************************************************* | ||
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: main.h | ||
* Info: Main firmware module with applicaion entry point. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
* Target: ATmega8L / ATmega8A | ||
**************************************************************************/ | ||
|
||
#ifndef MAIN_HEADER | ||
#define MAIN_HEADER | ||
|
||
|
@@ -31,4 +42,4 @@ VOID updateSleepLED(UCHAR isActive); | |
VOID showConfigurationOption(); | ||
VOID setupSystemTime(); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.h | ||
* Info: ATmega8 EEPROM module related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -44,4 +44,4 @@ VOID readTimeFromMemory(PTIME timeInfo, UCHAR offset) | |
timeInfo->seconds = eeprom_read_byte((UCHAR*)(offset + 0)); | ||
timeInfo->minutes = eeprom_read_byte((UCHAR*)(offset + 1)); | ||
timeInfo->hours = eeprom_read_byte((UCHAR*)(offset + 2)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.h | ||
* Info: ATmega8 EEPROM module related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -15,4 +15,4 @@ | |
VOID saveTimeToMemory(PTIME timeInfo, UCHAR offset); | ||
VOID readTimeFromMemory(PTIME timeInfo, UCHAR offset); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.c | ||
* Info: DS1307 RTC module related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -113,4 +113,4 @@ UCHAR decToBcd(UCHAR inVal) | |
UCHAR retVal = ((inVal / 10) << 4); | ||
retVal += inVal % 10; | ||
return retVal; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.h | ||
* Info: DS1307 RTC module related routines. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -19,4 +19,4 @@ VOID setSystemTime(PTIME timeInfo); | |
UCHAR bcdToDec(UCHAR inVal); | ||
UCHAR decToBcd(UCHAR inVal); | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: sysbasedef.h | ||
* Info: Core system definitions. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -76,4 +76,4 @@ enum menuMode | |
|
||
#define MENU_MODE enum menuMode | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.h | ||
* Info: Collection of routines to manipulate time data structure. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -89,4 +89,4 @@ UCHAR isLightActive(PTIME currTime, PTIME onTime, PTIME offTime) | |
// Start and end time are defined including midnight. | ||
return (sysTime >= startTime) || (sysTime < stopTime) ? TRUE : FALSE; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Title: ATmega8 Firmware for programmable light controller. | ||
* Author: Dilshan R Jayakody <[email protected]> | ||
* Project: Programmable LED controller. | ||
* Homepage: TBD | ||
* Homepage: https://github.com/dilshan/programmable-light | ||
* File: rtcmodule.h | ||
* Info: Collection of routines to manipulate time data structure. | ||
* Compiler: AVR GCC 5.4.0 (AVR 8-bit GNU Toolchain 3.6.1) | ||
|
@@ -16,4 +16,4 @@ VOID sysTimeToDisplayBuffer(PTIME timeData, PDISPLAY displayData); | |
UINT32 timeToInt32(PTIME timeData); | ||
UCHAR isLightActive(PTIME currTime, PTIME onTime, PTIME offTime); | ||
|
||
#endif | ||
#endif |