Renamed index to index_ for Arduino Due

Can't use variable name Index for Arduino Due.