CS initialization correctedteensy4-core
p = 0x10; | p = 0x10; | ||||
} else { | } else { | ||||
reg = portOutputRegister(pin); | reg = portOutputRegister(pin); | ||||
*reg = 1; | |||||
pinMode(pin, OUTPUT); | pinMode(pin, OUTPUT); | ||||
*reg = 1; | |||||
p = 0; | p = 0; | ||||
} | } | ||||
pcs = p; | pcs = p; |