Add proper license blocks. Credit Shikai Chen and ArduinoLite project.
This commit is contained in:
parent
6b889b0ae5
commit
2043e1a496
@ -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
|
#ifndef ANALOG_H
|
||||||
#define ANALOG_H
|
#define ANALOG_H
|
||||||
#include "pins.h"
|
#include "pins.h"
|
||||||
|
@ -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
|
#ifndef DIGITAL_H
|
||||||
#define DIGITAL_H
|
#define DIGITAL_H
|
||||||
#include "pins.h"
|
#include "pins.h"
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* Digital read 8bit data from PORTD3..7 PORTD0..1 (Arduino digital ports 3..9)
|
* Digital read 8bit data from Arduino digital ports 2..9 using fast macro
|
||||||
* and output it as binary string (10001101) to serial. Floating state is high.
|
* implentation of pin numbering from ArduinoLite project. Output value
|
||||||
* Connect pin to ground to set it low.
|
* 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!
|
* Led at Arduino digital 13 (PORTB5). Cause we all love blinken leds!
|
||||||
*
|
*
|
||||||
|
@ -1,18 +1,21 @@
|
|||||||
/*
|
/*
|
||||||
* ArduinoLite
|
* pins.h
|
||||||
* A lightweight runtime system for AVR chips
|
|
||||||
* by Shikai Chen (csk@live.com, http://www.csksoft.net)
|
|
||||||
*
|
*
|
||||||
* 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
|
* http://code.google.com/p/arduino-lite/
|
||||||
* Atmega8
|
* http://www.csksoft.net/
|
||||||
* Atmegax8 series: Atmega48 Atmega88 Atmega168 ...
|
*
|
||||||
* Attiny2313
|
* Copyright (c) 2010-2011 Shikai Chen
|
||||||
* Attiny26
|
*
|
||||||
* Atmega1280 (not vaildated yet)
|
* Licensed under the LGPL 2.1 license:
|
||||||
|
* http://www.opensource.org/licenses/lgpl-2.1.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PINS_H
|
#ifndef PINS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user