MoBi_scrittura.m 170 B

1234567
  1. function [ggg] = MoBi_scrittura(s)
  2. % write a '1' character on the serial port
  3. fprintf(s,'%s','1');
  4. % get whatever arduino wrote on the serila port
  5. ggg = fgets(s);