jdbruijn / LedCube

Program to control an 8x8x8 RGB LED cube.
http://vidavidorra.github.io/LedCube-Documentation
GNU General Public License v3.0
0 stars 0 forks source link

Initialize ports #9

Closed vidavidorra closed 8 years ago

vidavidorra commented 8 years ago

All ports that are not set in the IOPorts_init() need to be set as digital outputs (see PIC24FJ64GA004 reference manual paragraph 2.8 for more info) and driven to a default state of '0' or '1'. This needs to be done in the IOPorts_init function. Maybe even using a macro with a mask to set all unset ports as digital outputs.