getting P63 data from P60
Rayman
Posts: 14,646
in Propeller 2
Wasn't sure this would work or not... But it does!
I just do a:
If you look at inb[63] you can't see the actual data because it's in smartpin mode...
I just do a:
wrpin pinset,#60where:
' %AAAA_BBBB_FFF_PPPPPPPPPPPPP_TT_MMMMM_0 pinset long %0011_0000_000_0000000000000_00_00000_0and I can monitor the actual data on P63 when it's running SmartSerial in smartpin mode.
If you look at inb[63] you can't see the actual data because it's in smartpin mode...
Comments
Right now can display data on P63 via P60, triggered when it goes low.
A lot of work still to do, but this could be useful for things like SPI, etc...
For some reason, Graphics.spin is limited to x values less that 512. Not sure why, but need to fix that...
Anyway, right now, you can hit a key in Propeller Serial Terminal and see the data waveform in this app
I'm surprised that the smart pin is hiding the input data. I can't think of a reason to do that right now.
I assume you mean inb[31]. But I could see some pin access methods that would ignore bit 5 and give the correct answer anyway.
When a pin is in a smartpin mode, the IN for the pin is used to signal events related to the mode.