Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminius committed Apr 3, 2020
1 parent a2eefe5 commit 00509d7
Show file tree
Hide file tree
Showing 10 changed files with 1,644 additions and 795 deletions.
364 changes: 169 additions & 195 deletions ALEDD1.ino

Large diffs are not rendered by default.

319 changes: 280 additions & 39 deletions KONNEKTING_ALEDD1.kdevice.xml

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions aledd1.h
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
#ifndef DEVELOPMENT //ALEDD
//create a new Serial on Pins 1=TX and 3=RX
Uart SerialKNX (&sercom2, 3, 1, SERCOM_RX_PAD_1, UART_TX_PAD_2); //+pinPeripheral
//Interrupt handler for SerialKNX
void SERCOM2_Handler()
{
SerialKNX.IrqHandler();
SerialKNX.IrqHandler();
}

//Hardware settings
#define PROG_BUTTON_PIN 2 //active low
#define PROG_LED_PIN 8
#define LED_STRIP_PIN 22
#define VOLTAGE_OK 38 //active low
#define POWER_SUPPLY_PIN 38 //active low
#define EEPROM_EMULATION_SIZE 2048

#else //test board
//Hardware settings
#define PROG_BUTTON_PIN 7 //active low
#define PROG_LED_PIN 13
#define LED_STRIP_PIN 6 //LED shield
#define POWER_SUPPLY_PIN 8 //active low
#define EEPROM_EMULATION_SIZE 2048
#define SerialKNX Serial
#endif



#ifndef FAKE_EEPROM
byte readMemory(int index) {
Debug.println(F("FLASH read on index %d"),index);
Expand Down
Loading

0 comments on commit 00509d7

Please sign in to comment.