i have used such as
where response is an unsigned char array variable
it gives error as
no matching function for call to 'USARTSerial::read(unsigned char , int)'
can anybody help me
USARTSerial class inherits from Stream and hence you should find something therehttps://docs.particle.io/reference/firmware/photon/#stream-class
i think it is readBytes() in stream
but how to declare stream class variable?
Serial4 (as pointed out) is an instance inheriting from Stream class...