Hi,
For those who still have a serial port (native, or through a RS232/USB adapter), I propose an alternative to DigiUSB.
The idea is to send/receive debug/info messages to/from a PC through a regular RS232 serial port
but using a single I/O of the Digispark. The external interface is composed of 2 resistors and a regular diode (See link below). This approach allows to use the built-in Serial Monitor of the arduino IDE.
Thanks to the help of the last modifications of the <SoftSerial> and <TinyPinChange> libraries, it's now possible to declare a SoftSerial object with the
same pin for Tx and Rx: two additional methods allow to switch from rxMode to txMode.
I wrote a summary at the bottom of:
http://digistump.com/wiki/digispark/tutorials/debuggingPlease, find here the <SoftSerial> and <TinyPinChange> updated libraries (which are already in the Digispark IDE) to benefit of the debugging capabilities:
http://p.loussouarn.free.fr/partage/arduino/Libs4Digi_1io_Debug.zipJust replace existing DigisparkTinyPinChange and DigisparkSoftSerial directories with new ones in DigisparkArduino-Linux32/Digispark-Arduino-1.0.4/libraries directory.
You will find usefull examples in each library after restarting your IDE.
This alternative is mainly recommanded if you didn't plan to use DIgiUSB in your final sketch, or if you haven't enough pins.
@ albercook: hope, this will help...
RC Navy