Hello @Emmanuel,
These should help with the “Null Pointer Exception”:
- https://processing.org/reference/libraries/serial/index.html
- https://forum.processing.org/two/discussion/8071/why-do-i-get-a-nullpointerexception.html
- https://processing.org/tutorials/electronics
:)