prop to prop communication
i'm working on a data display. so far i have one prop set up to output a display to a tv and another interfaced with ADC's and thermocouples. I'm trying to use FullDuplex to interface the two. Do I need pull up resistor on the lines. so far this hasn't work. it works when the data prop is transmitting to the prop plug and the display prop is recieving from the prop plug but it won't work when the two are together. any ideas?

Comments
the data end
Con _clkmode = xtal1 + pll16x ' use crystal x 16 _xinfreq = 5_000_000 _data = $7000 tcpin = 4 OBJ THERMO : "thermocouple" ADC : "adc_in" RPM : "rpm" uart : "fullduplex" PUB Main | k, cog, ok uart.start(3,2,9600) THERMO.start(tcpin,_data + 20) 'collect thermocouple data) ADC.start(_data + 4) RPM.start(_data) repeat ok := uart.rx if ok == "s" uart.tx("s") repeat k from 0 to 21 uart.tx(byte[noparse][[/noparse]_data + k])and on the display end
Var long stack[noparse][[/noparse]30] Obj uart : "FullDuplex" Pub start(passval) : cog cog := cognew(main(passval), @stack) + 1 Pub main(_data) | k, ok uart.start(5,2,9600) waitcnt(cnt + 160_000_000) repeat uart.tx("s") ok := uart.rx if ok == "s" repeat k from 0 to 21 byte[noparse][[/noparse]_data + k] := uart.rxPost Edited (originator) : 3/14/2007 4:04:13 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
BTW: I type as I'm thinking, so please don't take any offense at my writing style
www.norfolkhelicopterclub.co.uk
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)