I'm trying to start writing things beyond a blinky example, and the moment I add the accelerometer library into my project, everything becomes so slow and stuttery I practically can't do anything at all, and it usually freezes while trying to push to the device.
Typing this line of text
won't even start showing text until I've typed all of that out. Pressing return could take 0.5-3 seconds to respond. Moving my cursor to a new line takes seconds.
My Blinky Program working perfectly on it's own, navigating the code and adding new lines works smoothly.
Class Blinky
Shared Event GreenLed() RaiseEvent Every 300 milliSeconds
LedGreen = Not LedGreen
End Event
End Class
Adding
https://github.com/NickWaterton/mcScript/tree/master/libraries/accelerometer/lis2dh12 as a new file and it's stutter / freeze / failed runs mania
I believe it's trying to detect any problems with my code structure and it gets worse and worse the more content there is?
The actual cursor in studio stops flashing every time this happens
How can I solve this? If it's this stuttery and laggy and freezy as more files get added I can't practically write or debug anything.