Digispark doesn't allow using the normal Serial.println()
that an arduino uses becuase it doesn't show up as a com port.
Instead you need to use hidapitester
or https://github.com/Bluebie/digiusb.rb ruby app to read from USB data.
Digispark has VID/PID
of 16C0/05DF
Start the digterm ruby app and enter 1
in the terminal.
When 1 is pressed, the blue LED (pin 1) should turn on for 1/10 of a second
gh repo clone Bluebie/digiusb.rb
cd digiusb
gem install colored
gem intall libusb
./bin/digiterm
>hello world
>1
Send 42 from digispark to PC once a second
hidapitester
read data2A = 42