primyterious
Member
I am working on an embedded MCU board and I am using the Teensy 3.6 as a project development board. The teensy works great but now I need to use more of the digital pins than are available on the development board. I use several Teensy 3.6 boards during development. I also ordered some pre-loaded ML04 chips for each of the embeded boards. The roadblock I have now is getting those other pins configured. I seem to be able to use GPIOx_PDIR, GPIOx_PDOR, GPIOx_PSOR, GPIOx_PCOR and GPIOx_PTOR, but I can't seem to get the GPIOx_PDDR register to work even though I do not get a compile error.
EX:
GPIOC_PDDR = 0X00000020; ( PTC5 as output )
If I use pinMode( 13, OUTPUT ); it works fine.
Is this a limitation of the header files and that they need to be modified or what??
Thanks in advance
Steve
EX:
GPIOC_PDDR = 0X00000020; ( PTC5 as output )
If I use pinMode( 13, OUTPUT ); it works fine.
Is this a limitation of the header files and that they need to be modified or what??
Thanks in advance
Steve