Our product will use Simblee and requires the following IO:
Analog input 1: connected to a phototransistor to read analog light value
Digital input 1: connected to comparator that changes phototransistor analog value to digital 0/1
Digital 2/3: connected to SDA/SCL pins of Maxim’s DS3231 (so DS3231 can be programmed via I2C)
Digital in 4: connected to SQW pin of Maxim’s DS3231 (which, in turn, increments TIMER1 as counter to count seconds)
GPIO 0 and 1 are reserved for programming Simblee (UART).
For SCL/SDA, best to use default GPIO pins 5 and 6?
For phototransistor analog input pin, use any of GPIO 2, 3 or 4?
For digital input pins for comparator output and DS3132 SQW output, use first digital in/out-only pins, GPIO 7 and 8?
Any advantage of using non-adjacent pins? Any other considerations?