This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
57 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
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ KISS FC OSD | |
by Samuel Daurat ([email protected]) | ||
based on the code by Felix Niessen ([email protected]) | ||
*/ | ||
# define OSDVersion "5.3.4" | ||
# define OSDVersion "5.4" | ||
#define DMemoryVersion 6 | ||
/* | ||
***************************************************************************************************** | ||
|
@@ -75,15 +75,10 @@ const char Pilotname[] = " SAMU"; | |
//SETUP function | ||
void setup() { | ||
|
||
pinMode(13, OUTPUT); | ||
|
||
//turn on watchdog timer | ||
wdt_enable(WDTO_8S); | ||
wdt_reset(); | ||
|
||
|
||
|
||
|
||
SPI.begin(); | ||
SPI.setClockDivider(SPI_CLOCK_DIV2); | ||
|
||
|
@@ -129,18 +124,15 @@ void setup() { | |
OSD.print(F("SAMUD OSD")); | ||
OSD.setCursor(6, 3); | ||
OSD.print(F("CUSTOM KISS OSD")); | ||
OSD.setCursor(3, 5); | ||
OSD.print(F("WAITING FOR KISS FC... ")); | ||
OSD.setCursor(5, 9); | ||
OSD.print(F("ENJOY YOUR FLIGHT")); | ||
OSD.setCursor(3, 14); | ||
OSD.print(F("WAITING FOR KISS FC... ")); | ||
OSD.videoBackground(); | ||
for (int i = 0; i < 10; i++) | ||
{ | ||
wdt_reset(); | ||
digitalWrite(13, HIGH); | ||
delay(500); | ||
digitalWrite(13, LOW); | ||
delay(500); | ||
delay(1000); | ||
} | ||
OSD.clear(); | ||
|
||
|