There's no standard way to do that. But it's easy enough to accomplish by repurposing one of the lesser-used sensors (e.g. barcode, coin-flip) to accommodate your own sensor. The way to do this is to rewrite the associated PRIvate method in the file include.spin to return a value similar to what it already returns, but corresponding to output from the new sensor.
Comments
There's no standard way to do that. But it's easy enough to accomplish by repurposing one of the lesser-used sensors (e.g. barcode, coin-flip) to accommodate your own sensor. The way to do this is to rewrite the associated PRIvate method in the file include.spin to return a value similar to what it already returns, but corresponding to output from the new sensor.
-Phil
-Phil