A comma needs to be added to the end of the line 'AN11 = $0B' as shown below:
Code: Select all
// channel select constants...
public const
AN0 = $00,
AN1 = $01,
AN2 = $02,
AN3 = $03,
AN4 = $04,
AN5 = $05,
AN6 = $06,
AN7 = $07
#if (_adc > 8)
public const
AN8 = $08,
AN9 = $09,
AN10 = $0A,
AN11 = $0B,
AN12 = $0C,
AN13 = $0D,
AN14 = $0E,
AN15 = $0F
#endif