Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : How to log sensor arduino data into a file.

$
0
0
As I wrote, it is just your code without the Serial stuff:
  1. PrintWriter output;

  2. void setup() {
  3.    output = createWriter( "newp.txt" );
  4. }

  5. void draw() {
  6.          String value = "Some stuff";
  7.          if ( value != null ) {
  8.               output.println( value );
  9.                output.close();
  10.          }
  11. }

Viewing all articles
Browse latest Browse all 1768

Trending Articles