Wearable Muscle Sensor Platform - 4th-gen sensor - Arduino compatible - Control

We are excited to finally reveal our 4th generation sensor, the MyoWare! We decided to launch it through a Kickstarter campaign for two reason: (1) To give you a chance to get some pretty awesome rewards and (2) To help children in need. As part of the campaign, we will donate 1 sensor per 5 backers to Limbitless Solutions and the E-Nable community. They're an amazing group who design, build, and donate 3D printed prosthetic arms to children in need. Click here for more information about the MyoWare and how you can help!

Do you already have an Arduino library and or sample codes how to use the sensor?

Yup. https://github.com/AdvancerTechnologies/MyoWareMuscleSensor

possible bug: why setting the digital ports 1-6 to input ?

  for(int i=0;i<6;i++)
    analogInput[i] = i+1;  <<<  analogInput = { 1,2,3,4,5,6 }
    value[i] = 0;     
    pinMode(analogInput[i], INPUT);