manualy generated blinky opcodes
This commit is contained in:
@@ -13,4 +13,21 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "actuators.h"
|
||||
|
||||
void led_toggle(int led_id)
|
||||
{
|
||||
printf("led_toogle: %d", led_id);
|
||||
}
|
||||
|
||||
void led_on(int led_id)
|
||||
{
|
||||
printf("led_on: %d", led_id);
|
||||
}
|
||||
|
||||
void led_off(int led_id)
|
||||
{
|
||||
printf("led_off: %d", led_id);
|
||||
}
|
||||
@@ -13,16 +13,18 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: actuators.h
|
||||
* Author: egavrin
|
||||
*
|
||||
* Created on July 2, 2014, 2:06 PM
|
||||
*/
|
||||
|
||||
#ifndef ACTUATORS_H
|
||||
#define ACTUATORS_H
|
||||
|
||||
// STM32 F4
|
||||
#define LED_GREEN 12
|
||||
#define LED_ORANGE 13
|
||||
#define LED_RED 14
|
||||
#define LED_BLUE 15
|
||||
|
||||
void led_toggle(int);
|
||||
void led_on(int);
|
||||
void led_off(int);
|
||||
|
||||
#endif /* ACTUATORS_H */
|
||||
|
||||
|
||||
@@ -13,13 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: common-io.h
|
||||
* Author: egavrin
|
||||
*
|
||||
* Created on July 2, 2014, 2:14 PM
|
||||
*/
|
||||
|
||||
#ifndef COMMON_IO_H
|
||||
#define COMMON_IO_H
|
||||
|
||||
|
||||
@@ -13,13 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: sensors.h
|
||||
* Author: egavrin
|
||||
*
|
||||
* Created on July 2, 2014, 2:05 PM
|
||||
*/
|
||||
|
||||
#ifndef SENSORS_H
|
||||
#define SENSORS_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user