armtronix / wifi-two-dimmer-board Goto Github PK
View Code? Open in Web Editor NEWWifi two dimmer board (mini)
Wifi two dimmer board (mini)
Config file syntax? Programming the ESP board - where's reset and/or flash buttons? Do the two buttons on the board (not noted in the pictures) correspond to something?
I can't for the life of me get this to program. I've used this FTDI board (looks just like the one in your pics actually) to program dozens of ESP devices, but something is wonky here. Walk us through the config file and ESP programming like we've never done it before because this is not at all intuitive...
Also, RTS/DTR/CTS - almost never have to use these pins and they're labeled differently on the FTDI boards.
A lot of this documentation seems cobbled together - and most of your other repos don't even have that much... I don't understand how things can be sold undocumented with an expectation of functionality when there isn't even any troubleshooting help.
Hi,
This is not an issue, but a question.
How much you think this would cost if you want to sell it.
Thanks!
Shouldn't this be: webtypeGlob = 1;
Hello,
I've been trying to flash the arduino nano as per your instruction and have stoped on this problem.
The error that ive got is this:
`
In file included from C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:10:0:
C:\Users\BMW\Documents\Arduino\libraries\SerialCommands-1.1.0\src/SerialCommands.h:42:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
SerialCommands(Stream* serial, char* buffer, int16_t buffer_len, char* term = "\r\n", char* delim = " ") :
^~~~~~
C:\Users\BMW\Documents\Arduino\libraries\SerialCommands-1.1.0\src/SerialCommands.h:42:102: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
SerialCommands(Stream* serial, char* buffer, int16_t buffer_len, char* term = "\r\n", char* delim = " ") :
^~~
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:26:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
SerialCommands serComm(&Serial, serBuff, sizeof(serBuff),"\n", ":,");
^
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:26:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:36:24: warning: array must be initialized with a brace-enclosed initializer [-fpermissive]
movingAvg knobAvg2;
^
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino: In function 'void cmdStatus(SerialCommands*)':
Atmega328_two_dimmerV0.5_Dimlib:59:43: error: 'class Dimmer' has no member named 'getSetValue'; did you mean 'getValue'?
sender->GetSerial()->print(dimmers[i].getSetValue());
^~~~~~~~~~~
getValue
Atmega328_two_dimmerV0.5_Dimlib:64:43: error: 'class Dimmer' has no member named 'getSetValue'; did you mean 'getValue'?
sender->GetSerial()->print(dimmers[i].getSetValue());
^~~~~~~~~~~
getValue
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino: In function 'void setup()':
C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:122:29: warning: invalid conversion from 'void ()(SerialCommands)' to 'void ()(SerialCommands, const char*)' [-fpermissive]
serComm.SetDefaultHandler(&cmdUnrecognized);
^~~~~~~~~~~~~~~~
In file included from C:\Users\BMW\Desktop\Wifi-Two-Dimmer-Board-master\Wifi-Two-Dimmer-Board-master\Arduino_Code\Atmega328_two_dimmerV0.5_Dimlib\Atmega328_two_dimmerV0.5_Dimlib.ino:10:0:
C:\Users\BMW\Documents\Arduino\libraries\SerialCommands-1.1.0\src/SerialCommands.h:92:7: note: initializing argument 1 of 'void SerialCommands::SetDefaultHandler(void ()(SerialCommands, const char*))'
void SetDefaultHandler(void(function)(SerialCommands, const char*));
^~~~~~~~~~~~~~~~~
exit status 1
'class Dimmer' has no member named 'getSetValue'; did you mean 'getValue'?`
The program stops at the following line:
} sender->GetSerial()->print(dimmers[i].getSetValue());
Does anyone have a clue how to fix it?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.