Snippet - Power Uart Hub Sample Code

I just posted Power Uart Hub Sample Code on Codeshare. Feel free to discuss and make suggestions here.

I like! Would this also work on a Cerberus board? If so, it is ideal for when you need to add a couple of power hungry devices like GPS and GSM to a project.

Yes, this works with Cerberus. The #2 Gadgeteer connector on the Cerberus includes a K port. So yo can connect the uart hub there.

The sample code was tested on a Hydra which has its K port on the #6 connector. So you will just have to modify the sample code by changing the 6 to a 2 in the constructor.