Re: B.Ashwinth Raj's reply on this page: https://circuitdigest.com/microcontroller-projects/ping-pong-game-using-...
As I mentioned in my comment, I haven't changed much of the Processing code, this is the only major change that I've made that caused the data to be read: https://image.prntscr.com/image/oOD49Zm_Sze1W-0AqRmt2A.png
Here's a pastebin of the code if you need: https://pastebin.com/yPxHfDkB
Anyway, the main problem (as I mentioned in my comment) is that the accelfilter isn't connecting to the Processing code for some reason.
I've tried the serial monitor and the Processing console thing several times before, and as I said, the serial monitor values are smooth (https://image.prntscr.com/image/uLdZKQQ2TECqraBbMOGoUQ.png) whereas the Processing console contains a lot of noise/non-smooth values (https://image.prntscr.com/image/giCWpSOsT3qiWRQSbp8-vg.png), which in turn causes the bar to vibrate in-game rather than move smoothly.
Any suggestions on how to fix this? Any help would be appreciated!