Jonathan Baker wrote: > > Im working on a network using PICS. > > All nodes on the network are identical, all joining onto a single bus - > ie each pic doesnt receive and the re-transmit the data. > > (each pic is also programmed identicaly - including ID bits) > > Can anyone think of a way to get each PIC to allocate itself a unique > number - node ID. ... but if there are 50 PIC modules then I want the > numbers 1 to 50 or 0 to 49 for the numbers no more no less. > > I think I have a way of doing this but Im not saying anything right now. > > Comms between modules are 1) TX/RX line 2) CLOCK 3) CTS > > sort of a cut down serial com protocol > > Ideas anyone? ... > > -- > Jonathan Baker I make - project with I2c interface : one master module and up 16 slave ones - project with current loop serial module connection, up 256 modules in loop. Vladimir Dobrovinski