aa sorry, was looking for the code button.
it is nothing really, just serially setting the value that goes in the analogWrite().
the serialparser() which seems messy is actually converting a string from v4 to a value.
i didnt write it tbh.
seems to work now, hopefully it wont break again.