Open tcurdt opened 9 years ago
Seems like product and vendor id are different. Changing them to
ProductID = 0x0753 # product id number from Digistump
VendorID = 0x16d0 # vendor id number for Digistump
I get
Attached to <Digispark:?:@20.23>
Type control + c to exit
unfortunately it's still not printing anything from the Spark.
Your delay is far too long. You need to use the special DigiUSB delay functions. You are making the spark freeze up for a full second, crashing the USB link.
Jenna
On 25 Aug 2015, at 7:43 am, Torsten Curdt notifications@github.com wrote:
Seems like product and vendor id are different. Changing them to
ProductID = 0x0753 # product id number from Digistump VendorID = 0x16d0 # vendor id number for Digistump I get
Attached to Digispark:?:@20.23 Type control + c to exit unfortunately it's still not printing anything from the Spark.
— Reply to this email directly or view it on GitHub.
@Bluebie after digging through the code I found that, too. But even with just e.g. 100ms delay it's not working.
100ms is very likely to be too much. Use the DigiUSB delay function, not the global one.
Jenna
On 25 Aug 2015, at 5:21 pm, Torsten Curdt notifications@github.com wrote:
@Bluebie after digging through the code I found that, too. But even with just 100ms delay it's not working.
— Reply to this email directly or view it on GitHub.
I changed it to
#include <DigiUSB.h>
void setup() {
DigiUSB.begin();
}
void loop() {
DigiUSB.println("hello");
DigiUSB.delay(10);
}
and still get nothing but the Attached
message
4 years too late, but the VID/PID should be:
16d0:0753 Digispark Bootlaoder
16c0:05df DigiUSB
so check that you're using the correct drivers (if on windows).
I have
digiterm
running and the digispark is runningbut I it's just looking
and then throwing an exception
This is on: