Added spin code for voltage input in etape sensor