I am building a project with 2 adrduinos. I want to read in the same processing program both their serials, but I cannot understand how serialEvent() works for two serial ports.
the below code does not work and
i get the error: "Duplicate method serialEvent(Serial) in type my_program_name"