system
1
Note: I have arduino leonardo connected to my laptop via USB.
Question: Can i make/change file on my laptop by using leonardo ?
I try the standard move :
#include <stdlib.h>
#include <stdio.h>
void setup()
{ FILE *p;
p=fopen("D:\armin\file.txt","w");
fprintf(p,"%s","SomeLetters");
fclose(p);
}
But it's not working.
system
2
Question: Can i make/change file on my laptop by using leonardo ?
No. You could send some information to the PC, where another program is listening, and have that program create a file.
system
3
PaulS:
No. You could send some information to the PC, where another program is listening, and have that program create a file.
You mean using the keyboard library on arduino ?
system
4
You mean using the keyboard library on arduino ?
No. I mean using Serial.print().
system
5
Ok , thanks for answer . Topic is closed.