@Paul-Handrigan , please see this post, depending on which board you have (M0054 or M0154), it may not be possible to use GPIO 46 as input :

https://forum.modalai.com/topic/4200/issue-reading-gpio-1146-pin-6-on-j10-on-voxl2