Hi,
I've got a strange problem with my Mkrzero.
After I plug it in Win10 is ejecting it directly.
This was my code I wanted to test:
const uint8_t PB09 = 8;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("LOOP");
analogReadTest();
}
void analogReadTest()
{
int sensorValue = analogRead(PB09);
float voltage = sensorValue * (5.0 / 1023.0);
Serial.println(voltage);
}
Did I destroy the board?
Or is there any fix I can do?
Thanks for the help!