On 4/17/2019 6:47 PM, justin White wrote: > I'm still a bit sure of how the modes work because it looks like > the "BeBoPr Function" for example is using the analog inputs tor a > thermocouple but analog inputs are only available in mode 0 but GPIO on > header2 is only available in mode 7. I assumed that the modes were set for > the whole header or PRU but now I'm guessing that each pin can be mode set > individually?
Yes, each pin has it's own "mode" setting to select among up to 8 independent functions. All of the digital I/O pins can be GPIO pins, and each specific pin has various other possible functions (eg: pwm, uart, i2c, timer, etc). However, the analog pins are generally dedicated for use as ADC inputs, so they cannot be arbitrary GPIO pins. -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
