Sample Source Code void b_Send2IFTTT(String EventValue){ Serial.print("Connecting to "); Serial.println(IFTTTAddress); WiFiClient client; const int httpPort = 80; if(!client.connect(IFTTTAddress, httpPort)){ Serial.println("Connection to IFTTT Failed"); return; } //String urlString = String(IFTTTAddress) + "/trigger/"; String urlString = "/trigger/"; urlString += EventValue; urlString += "/with/..
#include #define MAX485DE 2 #define MAX485RE 2 ModbusMaster node; void preTransmission(){ digitalWrite(MAX485DE, 1); } void postTransmission(){ digitalWrite(MAX485DE, 0); } void setup(){ pinMode(MAX485DE, OUTPUT); postTransmission(); Serial.begin(9600); node.begin(1, Serial); node.preTransmission(preTransmission); node.postTransmission(postTransmission); } bool state = true; void loop(){ uint8_t..
#include #define ADC_ADDRESS 0x68 #define ADC_CONFIG 0XFC #define PIN_MUXINA 4 #define PIN_MUXINB 5 #define PIN_MUXINC 6 #define PIN_MUX0 7 #define PIN_MUX1 8 #define PIN_MUX2 9 #define PIN_RELAY 12 int CommandStatus = 0; int MuxNum = -1; int PortNum = -1; long ADCValue = -1; void setup() { Wire.begin(); Wire.beginTransmission(ADC_ADDRESS); Wire.write(ADC_CONFIG); Wire.endTransmission(); pinMode..
보호되어 있는 글입니다.
보호되어 있는 글입니다.
#include int addr = 0; String InputString = "Test/String!"; int TestCount =0; void setup() { // put your setup code here, to run once: EEPROM.begin(512); } void loop() { // put your main code here, to run repeatedly: delay(1000); String String1 = InputString + TestCount; } void b_WriteChar_EEPROM(int Address, char Char){ EEPROM.write(Address, Char); EEPROM.commit(); } void b_WriteString_EEPROM(i..
- Total
- Today
- Yesterday
- 전압
- ServantClock
- 치매방지
- Decorator
- 전류
- DYOV
- 허들
- 티스토리챌린지
- badp
- arduino
- 둎
- 혁신과허들
- Innovation&Hurdles
- Hurdles
- 심심풀이
- Innovations&Hurdles
- 빌리언트
- Video
- Innovations
- 전압전류모니터링
- image
- BSC
- bilient
- 아두이노
- 심심풀이치매방지기
- 절연형
- 치매
- 배프
- 혁신
- 오블완
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |