Rev 1

Codes for solar and tstat6's pic chip.