How to read 2 sensors use Flash.

Like title.

I build 2 different sensors in bread board,want sensor different signal use flash.

But i can't write right code for Arduino and Flash,i feel so sadness,because i waste 20 days from start!

Who can help me,write Flash AS code and Arduino code.

Thank you very much!

(I using Serial to Socket server.
the server name is "ss6". )