I’ve been using this class for some quick SD card data logging on a Panda II:
It works just fine when I’m debugging (plugged into my desktop with a usb cable and loading code with Visual C# Express).
However, when I plug the Panda II into an external power source (I’ve tried a usb cable into an AC adapter and a 9V wall wart), the program hangs. (It seems to hang somewhere around line 84 of the class code).
Any ideas why it works plugged into the desktop, but not standalone?