보호되어 있는 글입니다.
void b_TreatCommand_WiFi(String CommandString1){ int Index1 = CommandString1.indexOf(":"); char CommandType0 = CommandString1.charAt(0); char CommandType1 = CommandString1.charAt(1); String CommandValue1 = CommandString1.substring(Index1+1); switch(CommandType0){ case 'P': // Port Control { if(CommandType1 == '4'){ if(CommandValue1.equals("0")) h_SwitchRelay('F'); if(CommandValue1.equals("1")) h..
void h_TreatSerial(){ if(!RxString_Serial.startsWith("VI")) return; int Index1 = RxString_Serial.indexOf("/"); if(Index1 = Index2) return; String VICName = RxString_Serial.substring(0, Index1); char CommandType0 = RxString_Serial.charAt(Index1+1); char CommandType1 = RxString_Serial.charAt(Index1+2); String ValueString = RxString..
void h_TreatSerialCommand(){ if(!RxString_Serial.startsWith("CD")) return; #if(USER_SERIAL == 901) Serial.println(""); Serial.println(RxString_Serial); #endif int Index1 = RxString_Serial.indexOf("/"); if(Index1 = Index2) return; String DeviceName = RxString_Serial.substring(0, Index1); char CommandType0 = RxString_Serial.charAt(..
bool h_TreatLoRaCommand(){ if(!(RxString_LoRa.startsWith("LR"))){ // RxString_LoRa : "CD1.01/P4:0" IsCommand2Subdevice = true; Command2Subdevice = RxString_LoRa; return false; } int Index1 = RxString_LoRa.indexOf('/'); if(Index1 < 1) return false; int Index2 = RxString_LoRa.indexOf(':'); if(Index2 < Index1) return false; char DataType0 = RxString_LoRa.charAt(Index1+1); char DataType1 = RxString_..
void b_PostprocessWebCommand(char CommandType1, char CommandType2, String CommandString){ switch(CommandType1){ case 'P': // Port control of WiFi device { int PortValue = 0; int PortNo = 0; PortValue = (int) CommandString.toInt(); if(CommandType2 == 'R'){ // Port control for RELAY PortNo = PIN_RELAY; if(PortValue == 1) IsPowerON = true; if(PortValue == 0) IsPowerON = false; }else if(CommandType2..
- Total
- Today
- Yesterday
- DYOV
- 치매
- 전압전류모니터링
- bilient
- Hurdles
- 배프
- 티스토리챌린지
- 혁신과허들
- badp
- 심심풀이치매방지기
- 오블완
- BSC
- 치매방지
- 아두이노
- ServantClock
- 절연형
- Innovations
- image
- 심심풀이
- 전압
- Innovation&Hurdles
- 전류
- 빌리언트
- Video
- 둎
- 허들
- arduino
- Decorator
- Innovations&Hurdles
- 혁신
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |