Author Topic: Detect if a digistump is connected to USB  (Read 2699 times)

7eggert

  • Newbie
  • *
  • Posts: 2
Detect if a digistump is connected to USB
« on: August 19, 2016, 11:41:16 pm »
I'd like to do someting like this:

if (connected_to_usb_host()) {
 while (1) delay (1000); // be nice to PCs
}

wreck_havock_on_the_usb_pins(); // I need all of those pins

I googled, I searched the forums. I'm surprised to not instantly find a solution in the FAQ, even if it would be "you can't".

balizeiro

  • Newbie
  • *
  • Posts: 6
Re: Detect if a digistump is connected to USB
« Reply #1 on: May 10, 2017, 04:20:41 pm »
Did you managed to find a solution for this?