Hi everybody, an Arduino newbie here. I plan to do a small project and ordered a digispark and a digispark programming tool (haven't got it yet).
While debugging my programs, I would like to have a basic printf capabilities and see the output on my development computer (Max OSC 10.8.5, mac book air 11", if it matters). My plan is to have the digispark plugged into the computer and powered by it while I edit, load, debug.
1. What are my options for printf? Does the arduino already support it out of the box? Do you need to designate one pin for UART and connect it to the computer? (I do have a serial to USB board which I used with teensy boards). Can I have a serial TX only pin without scarifying a pin for RX? What serial library should I use, Arduino serial or digispark soft serial?
2. Can I power the digispark from the computer (usb port) while debugging the program? (will this require to change the boot loader to the no-delay version that use an explicit input to trigger loading?).
3. Do I need to short the USB +V diode? Should I remove the on board regulator (to avoid 5V on its output with no input voltage?)
Any hint will be greatly appreciated. The more detailed, the better.
Thanks,
Zapta