03-06-2017, 04:58
It stopped on this line.
//---------------------------------------------------------
// ID5 - Processing
//---------------------------------------------------------
#if (ID5 == 1)
void send_SensorID5()
{
PacketID = UnitID << 4 | 5; // Hi nibble UnitID, Lo nibble SensorID
analogRead(BatVolt_PIN);
delay(20);
BatVolt = analogRead(BatVolt_PIN);
analogReference(INTERNAL); // Sets Analog Reference to 1.1V <------stopped on this line and it is highlighted red
//---------------------------------------------------------
// ID5 - Processing
//---------------------------------------------------------
#if (ID5 == 1)
void send_SensorID5()
{
PacketID = UnitID << 4 | 5; // Hi nibble UnitID, Lo nibble SensorID
analogRead(BatVolt_PIN);
delay(20);
BatVolt = analogRead(BatVolt_PIN);
analogReference(INTERNAL); // Sets Analog Reference to 1.1V <------stopped on this line and it is highlighted red

