Tell us about yourself!
> If I add two digital pins do they become 40 and 41 in the Arduino IDE?Yes, I believe so.> Also do I need to increase the array size and number of digital pins in the .h file?Yes. You will need to increate the total PINS_COUNT. I am not sure about the NUM_DIGITAL_PINS.The safer option is to give your pins a name in the header file like the SPI pins.
Arduino IDE: Creating Custom BoardsView Instructable »