Dynamo connected to arduino

A value of 1 (Bool in the below screenshot) switchs ON the onboard LED (connected to pin 13) , while 0 switches it off