How to address ports using Me Base Shield


#1

Does anyone have any sample code that shows how to address the ports on the Me Base Shield? I can’t find documentation on how these ports would be referenced. Any help is appreciated.


#2

hi,@todd

#else // else ATmega328              Port1    Port2     ...
MePort_Sig mePort[11] = {{NC, NC}, {11, 10}, {3, 9}, {12, 13}, {8, 2},
       Port5        ...             Port8     M1      M2
    {NC, NC}, {A2, A3}, {NC, A1}, {NC, A0}, {6, 7}, {5, 4}
};

https://github.com/Makeblock-official/Makeblock-Library/blob/master/makeblock/Makeblock.cpp


#3