Цитата:
Сообщение от xu56857
Не загрубить чтение "if ((analogRead(VAmpIntPin) > 700)...", а именно увеличить временную задержку ?
|
Смотри в - void ShortDetection()
Соответственно:
Arduino код:
//DCC Interface Master:
#define DetectShortCircuit 0xFF //to detect short circuit (0xFF)
#define KSRelaisShortCircuit 0x1F //to detect KS short (0x1F)