digitalWrite: fix callback