a function-definition is not allowed here before '{' token


  • Newbie
  • *
    • Posts: 1
    • View Profile
Hello everyone,

It's my very first time programming and I am having quite a lot of trouble getting started.

With every TinyScreen tutorials I tried on this website,


I keed getting the error :a function-definition is not allowed here before '{' token

I serched on the internet ways to fix it, but I expected the turotials to work on the first try...

Can anyone help ?

Thank you,

Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 392
    • View Profile
Sorry it's causing you problems. I clicked 'Run on Arduino' on each of the four examples and they worked without any errors. That error shouldn't be caused by the platform, but I'm on Windows 7/Chrome. Can you try it again or try it on another computer?


SMF spam blocked by CleanTalk