mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2026-09-21 20:39:35 +00:00
rp
This commit is contained in:
@ -2,9 +2,9 @@
|
||||
|
||||
void IR_FOX::setPin(uint8_t pin){
|
||||
this->pin = pin;
|
||||
port = digitalPinToPort(pin);
|
||||
mask = digitalPinToBitMask(pin);
|
||||
pinMode(pin, INPUT_PULLUP);
|
||||
// port = digitalPinToPort(pin);
|
||||
// mask = digitalPinToBitMask(pin);
|
||||
// pinMode(pin, INPUT_PULLUP);
|
||||
}
|
||||
|
||||
void IR_FOX::checkAddressRuleApply(uint16_t address, uint16_t id, bool &flag)
|
||||
|
||||
Reference in New Issue
Block a user