arduino Interfacing with logic buffer

ref