Software License Agreement (BSD License)
- Copyright (c) 2011, microBuilder SARL
+ Copyright (c) 2012, microBuilder SARL
All rights reserved.
Redistribution and use in source and binary forms, with or without
#include "core/gpio/gpio.h"
#include "core/systick/systick.h"
-#include "drivers/lcd/tft/hw/ssd1351.h"
-#include "drivers/lcd/tft/drawing.h"
-
#ifdef CFG_INTERFACE
#include "core/cmd/cmd.h"
#endif
uint32_t currentSecond, lastSecond;
currentSecond = lastSecond = 0;
-
- lcdInit();
- lcdTest();
while (1)
{
if (currentSecond != lastSecond)
{
lastSecond = currentSecond;
- gpioSetValue(CFG_LED_PORT, CFG_LED_PIN, ~(gpioGetValue(CFG_LED_PORT, CFG_LED_PIN)));
+ gpioSetValue(CFG_LED_PORT, CFG_LED_PIN, !(gpioGetValue(CFG_LED_PORT, CFG_LED_PIN)));
}
// Poll for CLI input if CFG_INTERFACE is enabled in projectconfig.h