1
0
mirror of synced 2024-11-24 10:14:25 +01:00

Add proper license blocks. Credit Shikai Chen and ArduinoLite project.

This commit is contained in:
Mika Tuupola 2011-10-17 23:25:55 +03:00
parent 6b889b0ae5
commit 2043e1a496
4 changed files with 58 additions and 14 deletions

View File

@ -1,3 +1,23 @@
/*
* analog.h
*
* Lightweight macro implementation of Arduino style pin numbering
* for AVR microprocessors. Because only thing I want to use from
* Arduino libraries is the pin numbering scheme.
*
* This file taken 99% from the excellent ArduinoLite project by
* Shikai Chen <csk@live.com>. Some minor changes to suite my personal
* coding taste.
*
* http://code.google.com/p/arduino-lite/
* http://www.csksoft.net/
*
* Copyright (c) 2010-2011 Shikai Chen
*
* Licensed under the LGPL 2.1 license:
* http://www.opensource.org/licenses/lgpl-2.1.php
*/
#ifndef ANALOG_H
#define ANALOG_H
#include "pins.h"

View File

@ -1,3 +1,23 @@
/*
* digital.h
*
* Lightweight macro implementation of Arduino style pin numbering
* for AVR microprocessors. Because only thing I want to use from
* Arduino libraries is the pin numbering scheme.
*
* This file taken 99% from the excellent ArduinoLite project by
* Shikai Chen <csk@live.com>. Some minor changes to suite my personal
* coding taste.
*
* http://code.google.com/p/arduino-lite/
* http://www.csksoft.net/
*
* Copyright (c) 2010-2011 Shikai Chen
*
* Licensed under the LGPL 2.1 license:
* http://www.opensource.org/licenses/lgpl-2.1.php
*/
#ifndef DIGITAL_H
#define DIGITAL_H
#include "pins.h"

View File

@ -1,7 +1,8 @@
/*
* Digital read 8bit data from PORTD3..7 PORTD0..1 (Arduino digital ports 3..9)
* and output it as binary string (10001101) to serial. Floating state is high.
* Connect pin to ground to set it low.
* Digital read 8bit data from Arduino digital ports 2..9 using fast macro
* implentation of pin numbering from ArduinoLite project. Output value
* as binary string (10001101) to serial. Floating state is high. Connect pin
* to ground to set it low.
*
* Led at Arduino digital 13 (PORTB5). Cause we all love blinken leds!
*

View File

@ -1,18 +1,21 @@
/*
* ArduinoLite
* A lightweight runtime system for AVR chips
* by Shikai Chen (csk@live.com, http://www.csksoft.net)
* pins.h
*
* pins_arduino_lit.h - Static Arduino Pin to AVR Pin mapping table
* Lightweight macro implementation of Arduino style pin numbering
* for AVR microprocessors. Because only thing I want to use from
* Arduino libraries is the pin numbering scheme.
*
* ArduinoLite is based on the work of Arduino Project (arduino.cc)
* This file taken 99% from the excellent ArduinoLite project by
* Shikai Chen <csk@live.com>. Some minor changes to suite my personal
* coding taste.
*
* Support AVR Chips
* Atmega8
* Atmegax8 series: Atmega48 Atmega88 Atmega168 ...
* Attiny2313
* Attiny26
* Atmega1280 (not vaildated yet)
* http://code.google.com/p/arduino-lite/
* http://www.csksoft.net/
*
* Copyright (c) 2010-2011 Shikai Chen
*
* Licensed under the LGPL 2.1 license:
* http://www.opensource.org/licenses/lgpl-2.1.php
*/
#ifndef PINS_H