User Tools

Site Tools


digispark:tutorials:digicdc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digispark:tutorials:digicdc [2015/01/08 01:01]
digistump
digispark:tutorials:digicdc [2016/06/09 12:03] (current)
Line 14: Line 14:
   - The begin statement does not need a baudrate - it is a CDC device so it does not have a set baud rate - just use SerialUSB.begin()   - The begin statement does not need a baudrate - it is a CDC device so it does not have a set baud rate - just use SerialUSB.begin()
   - You must install the driver for windows - it is part of the driver package found in the Digispark Arduino release. ​   - You must install the driver for windows - it is part of the driver package found in the Digispark Arduino release. ​
-  - It is slow - it transfers data very slowly - because it is a low speed USB device doing the job of a Standard speed device - and doing it all virtually without actual hardware support!+  - It is slow - it transfers data very slowly ​(5ms per character) ​- because it is a low speed USB device doing the job of a Standard speed device - and doing it all virtually without actual hardware support!
   - Like all of our V-USB libraries you must use its delay function instead of delay() - so use SerialUSB.delay() when you need a delay in your code.   - Like all of our V-USB libraries you must use its delay function instead of delay() - so use SerialUSB.delay() when you need a delay in your code.
   - SerialUSB.delay() or SerialUSB.refresh() must be called every 10ms or less in your code if no other SerialUSB call is made in that code.   - SerialUSB.delay() or SerialUSB.refresh() must be called every 10ms or less in your code if no other SerialUSB call is made in that code.
digispark/tutorials/digicdc.1420707703.txt.gz · Last modified: 2015/01/08 01:01 by digistump