added source headers

This commit is contained in:
Steffen Vogel 2012-11-16 16:58:50 +01:00
parent a2c24ff9fb
commit 852d9bddc3
8 changed files with 82 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/**
* Color Types
* Color types & conversion
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License

View file

@ -1,5 +1,5 @@
/**
* Color Types
* Color types & conversion
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License

View file

@ -1,5 +1,5 @@
/**
* Main Routine
* Main routine
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
@ -89,7 +89,7 @@ int main(void) {
strip_setdot(hsv2rgb(hsvd), i);
sei();
}
_delay_ms(1);
_delay_ms(500);
}
else if (r & 0xff00) {
uart_puts_P("error\r\n");

View file

@ -1,3 +1,28 @@
/**
* fnordlicht protocol parser
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
* @author Steffen Vogel <post@steffenvogel.de>
* @link http://www.steffenvogel.de
*/
/*
* This file is part of fnordstripe
*
* fnordstripe 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
* any later version.
*
* fnordstripe 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 fnordstripe. If not, see <http://www.gnu.org/licenses/>.
*/
/*void parse_message(uint8_t *data) {
struct remote_msg_t *msg = (struct remote_msg_t *) data;

View file

@ -1,5 +1,5 @@
/**
* SPI Routines
* SPI routines
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License

View file

@ -1,5 +1,5 @@
/**
* SPI Routines
* SPI routines
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License

View file

@ -1,3 +1,29 @@
/**
* LPD6803 routines
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
* @author Steffen Vogel <post@steffenvogel.de>
* @link http://www.steffenvogel.de
*/
/*
* This file is part of fnordstripe
*
* fnordstripe 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
* any later version.
*
* fnordstripe 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 fnordstripe. If not, see <http://www.gnu.org/licenses/>.
*/
#include <avr/io.h>
#include <avr/interrupt.h>

View file

@ -1,3 +1,28 @@
/**
* LPD6803 routines
*
* @copyright 2012 Steffen Vogel
* @license http://www.gnu.org/licenses/gpl.txt GNU Public License
* @author Steffen Vogel <post@steffenvogel.de>
* @link http://www.steffenvogel.de
*/
/*
* This file is part of fnordstripe
*
* fnordstripe 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
* any later version.
*
* fnordstripe 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 fnordstripe. If not, see <http://www.gnu.org/licenses/>.
*
#ifndef _STRIP_H_
#define _STRIP_H_