Skip to content

Commit

Permalink
Update source file headers with github link.
Browse files Browse the repository at this point in the history
  • Loading branch information
dilshan committed Mar 21, 2019
1 parent 9a4ce42 commit 27d4f8b
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 20 deletions.
4 changes: 2 additions & 2 deletions firmware/displaymodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -234,4 +234,4 @@ VOID clearDisplay(PUCHAR valueSet, UCHAR valueSize)
valueSet[tempPos] = 0xFF;
tempPos++;
}
}
}
4 changes: 2 additions & 2 deletions firmware/displaymodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -25,4 +25,4 @@ VOID clearDisplay(PUCHAR valueSet, UCHAR valueSize);
VOID setEditSegment(UCHAR segmentId);
VOID setBlickState(UCHAR isActive);

#endif
#endif
2 changes: 1 addition & 1 deletion firmware/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 12 additions & 1 deletion firmware/main.h
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

Expand Down Expand Up @@ -31,4 +42,4 @@ VOID updateSleepLED(UCHAR isActive);
VOID showConfigurationOption();
VOID setupSystemTime();

#endif
#endif
4 changes: 2 additions & 2 deletions firmware/memmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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));
}
}
4 changes: 2 additions & 2 deletions firmware/memmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -15,4 +15,4 @@
VOID saveTimeToMemory(PTIME timeInfo, UCHAR offset);
VOID readTimeFromMemory(PTIME timeInfo, UCHAR offset);

#endif
#endif
4 changes: 2 additions & 2 deletions firmware/rtcmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -113,4 +113,4 @@ UCHAR decToBcd(UCHAR inVal)
UCHAR retVal = ((inVal / 10) << 4);
retVal += inVal % 10;
return retVal;
}
}
4 changes: 2 additions & 2 deletions firmware/rtcmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -19,4 +19,4 @@ VOID setSystemTime(PTIME timeInfo);
UCHAR bcdToDec(UCHAR inVal);
UCHAR decToBcd(UCHAR inVal);

#endif
#endif
4 changes: 2 additions & 2 deletions firmware/sysbasedef.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -76,4 +76,4 @@ enum menuMode

#define MENU_MODE enum menuMode

#endif
#endif
4 changes: 2 additions & 2 deletions firmware/timemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
}
}
4 changes: 2 additions & 2 deletions firmware/timemodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -16,4 +16,4 @@ VOID sysTimeToDisplayBuffer(PTIME timeData, PDISPLAY displayData);
UINT32 timeToInt32(PTIME timeData);
UCHAR isLightActive(PTIME currTime, PTIME onTime, PTIME offTime);

#endif
#endif

0 comments on commit 27d4f8b

Please sign in to comment.