Hi there
1) General suggestion
There needs to be a simple page to explain how to get the Digispark Pro to communicate with the IDE's serial monitor, given that it is different to standard Arduino.
2) Specific plea for help
Q1. Will the following code work (send to serial monitor) if any needed pre-reqs have been achieved?
#include <DigiCDC.h>
void setup()
{
SerialUSB.begin();
pinMode(1, OUTPUT);}
void loop() {
SerialUSB.print("Hello");
digitalWrite(1,HIGH);
delay(1000);
SerialUSB.println(" there!");
digitalWrite(1,LOW);
delay(1000);
}
Code compliles and downloads. LED blinks but serial monitor doesn't work.
I am using IDE 1.5.8B downloaded yesterday.
Separate to whether the code should work in theory is the practical showstopper that DigisparkPro becomes an unknown device in device manager after each bootup with the following reported properties:
Device type: Universal Serial Bus controllers
Manufacturer: (Standard USB Host Controller)
Device Status: Windows has stopped this device because it has reported problems. (Code 43)
Q2. Do I need to install any Windows7 driver which DigistumpArduinoInstall1.5.8B did not? (I would presume not for this most basic of functions)
note that if the code's serial comms lines are removed, all is happy.
Any help much appreciated