now I face a new problem[ch12290]I use arduino to control 100 leds by DS2413[ch12290]I use the pins 2 to 12.now I can't sure that If each pin can control 10 chips at least.may I use a PNP in the 1 wire master I/O output
Does it need to be DS2413s?
You could get i2c digital expanders and power the LEDs off them, then you can connect a load to the i2c pins (analog 4&5)
Or you could go for something more like the M5451 LED driver chips (35 LEDs per chip)
may I use a PNP in the 1 wire master I/O output
It is unclear to me what usage you have in mind for the transistor?
As for the DS2413, the load on the microcontroller is negligible as they draw power directly from your supply. You could litterally have 100 of these on a single pin without I/O pin current overload.