define output as int variable

It is probably time to contact the Ardublock folks. This is not an arduino problem.