2020-12-01 08:40:50 +00:00
|
|
|
/***************************************************************************
|
2023-02-08 15:33:02 +00:00
|
|
|
* Copyright (C) 2020 - 2023 by Federico Amedeo Izzo IU2NUO, *
|
|
|
|
* Niccolò Izzo IU2KIN *
|
|
|
|
* Frederik Saraci IU2NRO *
|
|
|
|
* Silvano Seva IU2KWO *
|
2020-12-01 08:40:50 +00:00
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2020-12-24 15:24:35 +00:00
|
|
|
#include <interfaces/platform.h>
|
2021-03-10 11:13:38 +00:00
|
|
|
#include <interfaces/delays.h>
|
2020-12-01 08:40:50 +00:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
platform_init();
|
|
|
|
|
|
|
|
while(1)
|
|
|
|
{
|
|
|
|
platform_ledOn(GREEN);
|
2021-03-10 11:13:38 +00:00
|
|
|
delayMs(1000);
|
2020-12-01 08:40:50 +00:00
|
|
|
platform_ledOff(GREEN);
|
2021-03-10 11:13:38 +00:00
|
|
|
delayMs(1000);
|
2020-12-01 08:40:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|