Advertisement
crackanddie

C++ example for pi-blaster

Nov 6th, 2021
1,261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. void EchoToFile(string val)
  2. {
  3.     ofstream fo;
  4.     fo.open("/dev/pi-blaster");
  5.     fo << val << endl;
  6.     fo.close();
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement