Skip to content

Commit

Permalink
creative commons license added
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-pa committed Oct 31, 2016
1 parent 2bfaec7 commit 0ddc4d3
Show file tree
Hide file tree
Showing 39 changed files with 164 additions and 11 deletions.
4 changes: 4 additions & 0 deletions Activity.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <Activity.h>

Expand Down
4 changes: 4 additions & 0 deletions Activity.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __ACTIVITY_H__
#define __ACTIVITY_H__
Expand Down
4 changes: 4 additions & 0 deletions Alarm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __ALARM_H__
#define __ALARM_H__
Expand Down
4 changes: 4 additions & 0 deletions AlarmClock.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "TimerOne.h"
#include "AlarmClock.h"
Expand Down
5 changes: 5 additions & 0 deletions AlarmClock.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __ALARMCLOCK_H__
#define __ALARMCLOCK_H__

Expand Down
6 changes: 5 additions & 1 deletion AskSinPP.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __ASKSINPP_h__
#define __ASKSINPP_h__

#define ASKSIN_PLUS_PLUS_VERSION "0.1.0"
#define ASKSIN_PLUS_PLUS_VERSION "0.1.1"

#define ASKSIN_PLUS_PLUS_IDENTIFIER "AskSin++ V" ASKSIN_PLUS_PLUS_VERSION

Expand Down
4 changes: 4 additions & 0 deletions BatterySensor.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __BATTERYSENSOR_H__
#define __BATTERYSENSOR_H__
Expand Down
4 changes: 4 additions & 0 deletions Button.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------
#ifndef __BUTTON_H__
#define __BUTTON_H__

Expand Down
4 changes: 4 additions & 0 deletions Channel.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __CHANNEL_H__
#define __CHANNEL_H__
Expand Down
4 changes: 4 additions & 0 deletions ChannelList.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __CHANNELLIST_H__
#define __CHANNELLIST_H__
Expand Down
4 changes: 4 additions & 0 deletions Debug.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __DEBUG_H__
#define __DEBUG_H__
Expand Down
5 changes: 4 additions & 1 deletion Device.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "Device.h"

#include "Led.h"

namespace as {
Expand Down
4 changes: 4 additions & 0 deletions Device.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __DEVICE_H__
#define __DEVICE_H__
Expand Down
4 changes: 4 additions & 0 deletions EEProm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "EEProm.h"

Expand Down
4 changes: 4 additions & 0 deletions EEProm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __EEPROM_H__
#define __EEPROM_H__
Expand Down
4 changes: 4 additions & 0 deletions HMID.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "HMID.h"

Expand Down
4 changes: 4 additions & 0 deletions HMID.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __HMID_H__
#define __HMID_H__
Expand Down
5 changes: 5 additions & 0 deletions Led.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "AlarmClock.h"
#include "Led.h"
Expand All @@ -7,6 +11,7 @@ namespace as {

StatusLed sled;

// patters reused from NewAskSin by <[email protected]>
const StatusLed::BlinkPattern pattern [11] PROGMEM = {
{0, 0, {0 , 0 } }, // 0; define nothing
{2, 20, {5, 5,} }, // 1; define pairing string
Expand Down
4 changes: 4 additions & 0 deletions Led.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __STATUSLED_H__
#define __STATUSLED_H__
Expand Down
4 changes: 4 additions & 0 deletions Link.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __LINK_H__
#define __LINK_H__
Expand Down
4 changes: 4 additions & 0 deletions Message.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __Message_h__
#define __Message_h__
Expand Down
4 changes: 4 additions & 0 deletions MultiChannelDevice.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __MULTICHANNELDEVICE_H__
#define __MULTICHANNELDEVICE_H__
Expand Down
4 changes: 4 additions & 0 deletions Peer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __PEER_H__
#define __PEER_H__
Expand Down
4 changes: 4 additions & 0 deletions Radio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
//- AskSin cc1101 functions -----------------------------------------------------------------------------------------------
//- with a lot of copy and paste from culfw firmware
//- -----------------------------------------------------------------------------------------------------------------------
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
Expand Down
4 changes: 4 additions & 0 deletions Radio.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
//- AskSin cc1101 functions -----------------------------------------------------------------------------------------------
//- with a lot of copy and paste from culfw firmware
//- -----------------------------------------------------------------------------------------------------------------------
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef _CC_H
#define _CC_H
Expand Down
11 changes: 11 additions & 0 deletions Radio_ProMini.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin driver implementation
// 2013-08-03 <[email protected]> Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------
//- AskSin cc1101 functions -----------------------------------------------------------------------------------------------
//- with a lot of copy and paste from culfw firmware
//- -----------------------------------------------------------------------------------------------------------------------
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
Expand Down
4 changes: 4 additions & 0 deletions SwitchChannel.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __SWITCHCHANNEL_H__
#define __SWITCHCHANNEL_H__
Expand Down
5 changes: 5 additions & 0 deletions SwitchList1.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __SWITCHCHANNELDATA_H__
#define __SWITCHCHANNELDATA_H__

Expand Down
5 changes: 5 additions & 0 deletions SwitchList3.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "SwitchList3.h"

namespace as {
Expand Down
4 changes: 4 additions & 0 deletions SwitchList3.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __SWITCHSTATEDATA_H__
#define __SWITCHSTATEDATA_H__
Expand Down
4 changes: 4 additions & 0 deletions SwitchStateMachine.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include "SwitchStateMachine.h"

Expand Down
4 changes: 4 additions & 0 deletions SwitchStateMachine.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#ifndef __SWITCHSTATEMACHINE_H__
#define __SWITCHSTATEMACHINE_H__
Expand Down
6 changes: 0 additions & 6 deletions cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#ifndef _CM_H
#define _CM_H

// #include "HAL.h"

#define GET_2_BYTE_VALUE(n) ( ((uint16_t)n >> 8) | ((uint16_t)n << 8) ) // macro for changing byte order for ARV little endian

#define AS_CM_JT_NONE 0
Expand Down Expand Up @@ -56,8 +54,4 @@
#define AS_CM_KEYCODE_SHORT 1
#define AS_CM_KEYCODE_LONG 2


// void debugActionType(uint8_t actionType);
// void debugState(uint8_t state);
// inline void debugShowStruct(void);
#endif
5 changes: 4 additions & 1 deletion examples/HM-ES-TX-WM/HM-ES-TX-WM.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down
4 changes: 4 additions & 0 deletions examples/HM-LC-SWX-SM/HM-LC-SWX-SM.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down
4 changes: 4 additions & 0 deletions examples/HM-RC-4/HM-RC-4.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down
5 changes: 4 additions & 1 deletion examples/HM-SEC-MDIR/HM-SEC-MDIR.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down
4 changes: 4 additions & 0 deletions examples/HM-WDS10-TH-O/HM-WDS10-TH-O.ino
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down
5 changes: 4 additions & 1 deletion examples/HM-WDS100-C6-O-2/HM-WDS100-C6-O-2.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

//- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http:https://creativecommons.org/licenses/by-nc-sa/3.0/de/
//- -----------------------------------------------------------------------------------------------------------------------

#include <PinChangeInt.h>
#include <TimerOne.h>
Expand Down

0 comments on commit 0ddc4d3

Please sign in to comment.