This commit is contained in:
2019-10-16 02:53:50 +03:00
parent 8a649272e0
commit 8ddd8f1313
20 changed files with 24 additions and 7 deletions

0
build_flags_mega2560-net.sh Normal file → Executable file
View File

0
check_custom_build_flags_controllino.sh Normal file → Executable file
View File

0
check_custom_build_flags_due-5500.sh Normal file → Executable file
View File

0
check_custom_build_flags_due.sh Normal file → Executable file
View File

0
check_custom_build_flags_esp32.sh Normal file → Executable file
View File

0
check_custom_build_flags_esp8266.sh Normal file → Executable file
View File

0
check_custom_build_flags_lighthub21.sh Normal file → Executable file
View File

0
check_custom_build_flags_mega2560-5500.sh Normal file → Executable file
View File

0
check_custom_build_flags_mega2560-slim.sh Normal file → Executable file
View File

0
check_custom_build_flags_mega2560.sh Normal file → Executable file
View File

0
check_custom_build_flags_nrf52840.sh Normal file → Executable file
View File

0
check_custom_build_flags_stm32.sh Normal file → Executable file
View File

View File

@@ -22,7 +22,7 @@ e-mail anklimov@gmail.com
#include "item.h" #include "item.h"
#include "aJSON.h" #include "aJSON.h"
#include "utils.h" #include "utils.h"
#include "homiedef.h" #include "textconst.h"
#ifdef _dmxout #ifdef _dmxout
#include "dmx.h" #include "dmx.h"
@@ -285,14 +285,14 @@ void Item::copyPar (aJsonObject *itemV)
} }
*/ */
/*
#if defined(ARDUINO_ARCH_ESP32) #if defined(ARDUINO_ARCH_ESP32)
void analogWrite(int pin, int val) void analogWrite(int pin, int val)
{ {
//TBD //TBD
} }
#endif #endif
*/
/* /*
boolean Item::getEnableCMD(int delta) { boolean Item::getEnableCMD(int delta) {

17
lighthub/lighthub.ino.cpp Normal file
View File

@@ -0,0 +1,17 @@
# 1 "/var/folders/kt/8psth65x03v6tw_phdhbj12r0000gn/T/tmpnfZO0a"
#include <Arduino.h>
# 1 "/Users/andrey/Documents/Arduino/lighthub/lighthub/lighthub.ino"
#include "main.h"
void setup();
void loop();
#line 2 "/Users/andrey/Documents/Arduino/lighthub/lighthub/lighthub.ino"
void setup(){
setup_main();
}
void loop(){
loop_main();
}

View File

@@ -153,7 +153,7 @@
#include "Arduino.h" #include "Arduino.h"
#include "utils.h" #include "utils.h"
#include "homiedef.h" #include "textconst.h"
#include <PubSubClient.h> #include <PubSubClient.h>
#include <SPI.h> #include <SPI.h>
#include <string.h> #include <string.h>

View File

@@ -5,7 +5,7 @@
#include "options.h" #include "options.h"
#include "Streaming.h" #include "Streaming.h"
#include "item.h" #include "item.h"
#include "homiedef.h" #include "textconst.h"
#ifndef AC_Serial #ifndef AC_Serial
#define AC_Serial Serial3 #define AC_Serial Serial3

0
mosquitto_examples.sh Normal file → Executable file
View File

0
pioenvs.sh Normal file → Executable file
View File

0
piolibdeps.sh Normal file → Executable file
View File

View File

@@ -11,7 +11,7 @@
;home_dir = C:\platformio ;home_dir = C:\platformio
src_dir = lighthub src_dir = lighthub
;monitor_speed = 115200 ;monitor_speed = 115200
env_default = default_envs =
; ****** UNCOMMENT single environment name for target platform below ******* ; ****** UNCOMMENT single environment name for target platform below *******
; Arduino Mega (without onewire) + Ethernet shield Wiznet 5100 ; Arduino Mega (without onewire) + Ethernet shield Wiznet 5100
; mega2560slim-5100 ; mega2560slim-5100
@@ -29,7 +29,7 @@ env_default =
; due-5100 ; due-5100
; Arduino DUE + Ethernet shield Wiznet 5500 ; Arduino DUE + Ethernet shield Wiznet 5500
due-5500 ; due-5500
; ESP 8266 ; ESP 8266
; esp8266-wifi ; esp8266-wifi