I made an instructable for my entire electronics and remote control. Maybe this is useful for some of you here. Even if it is just for reference on how to code some of the Arduino stuff.
Big thanks to MaB who helped with the code and also to Flo who helped, but his code didn´t end up in the files. And to PowerGlider who helped troubleshoot the VESC.