my new gear...

Dependencies:   mbed

config/L432KC_Config.h

Committer:
yootee
Date:
2022-02-25
Revision:
0:1456b6f84c75

File content as of revision 0:1456b6f84c75:

#include <mbed.h>
#include <portSet.hpp>


Port com[5] = {
//--pwmPort--//
    {PA_8,PA_7},
    {PB_6,PA_11},
    {PA_1,PA_3},
    {PB_0,PB_1},
//--encorderPort--//
    {PA_0 ,PA_4}
};
/*
        port_num
       1(pwm) 0(pwm)
   2(pwm) 4(enc) 3(pwm)
   
   port3 detail
   B0 B1  G
   V  A5 A6
*/