i don't unserstand about Siul2_Dio_Ip_ReadPin()'s parameter descripton.
user manual describe Siul2_Dio_Ip_ReadPin()'s pin index is 0~15.
then what is ptb26's pin index?
Solved! Go to Solution.
Hi@rlaxortn
for example, PTB14 and PTB16.
Siul2_Dio_Ip_ReadPin(PTB_L_HALF,14);//PTB14
Siul2_Dio_Ip_ReadPin(PTB_H_HALF,0);//PTB16
View solution in original post