RICoder
01-18-2009, 02:38 AM
I just got my propeller chip and I'm looking at the schematic for it, my question has to do with COG access to the pins.
My final plan is to use it to control a hexapod, with a COG dedicated to each leg. That said:
I've noticed that there are 32 pins for I/O and that is probably enough (figuring 3 per leg = 18) leaving me with some 14 pins to play with. My curiosity is about re-using pins for different COGS, or really for the same COG just with different purpose.
Consider this as an example:
I have 2x 7 Segment LEDs and want to use them for a 2 digit display. They require 8 pins each (plus Vss/Vdd). Suppose I wanted to control BOTH of these with the same 8 pins. Is there some wiring solution where I could adjust the output of a pin to dictate which module it is talking to?
I've thought about it, and think I could probably pull it off with some fancy ADC/DAC conversion, but that would be expensive and probably overkill.
Am I nuts? Is this something that would even be possible?
My final plan is to use it to control a hexapod, with a COG dedicated to each leg. That said:
I've noticed that there are 32 pins for I/O and that is probably enough (figuring 3 per leg = 18) leaving me with some 14 pins to play with. My curiosity is about re-using pins for different COGS, or really for the same COG just with different purpose.
Consider this as an example:
I have 2x 7 Segment LEDs and want to use them for a 2 digit display. They require 8 pins each (plus Vss/Vdd). Suppose I wanted to control BOTH of these with the same 8 pins. Is there some wiring solution where I could adjust the output of a pin to dictate which module it is talking to?
I've thought about it, and think I could probably pull it off with some fancy ADC/DAC conversion, but that would be expensive and probably overkill.
Am I nuts? Is this something that would even be possible?