i have two mini arduino and i connected them via digital ports
i write code that if arduino 1 - > port high so arduino 2 turn on led . the problem is that if i connect the first mini arduino to laptop usb port everything works fine , but if i connected the first arduion to usb chrger 5v 1.8a in the wall the led blinks , i did digitalread to see what i get from this port .... i get 010101010101010101 instead of 111111111111
anyone know why ???