Error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

ya you are correct I have tried a couple of different codes back and forth and all the same error on the IoT platform. Would there be any way to fix the library @anon57585045 ?