janklug But when I try to squeeze these into the render.cpp - file alongside the pd-patch, it won't get the Serial connection going (although it compiles):
https://gist.github.com/anonymous/61262807963dbbced9e02ce6c1aa8813
Not sure how that code can compile: you have lots of function calls at the top that are not within a function, so it surely does not compile.
Maybe for some bug (e.g.: this ) the IDE does not try to recompile your project? can you clean the project (project settings tab -> manage projects -> clean) and try hitting the run button again?