Added GPIO examples. Major changes to other examples, too.