Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds USB storage module tutorial #80

Merged
merged 6 commits into from
Feb 24, 2016
Merged

adds USB storage module tutorial #80

merged 6 commits into from
Feb 24, 2016

Conversation

Frijol
Copy link
Member

@Frijol Frijol commented Feb 2, 2016

Adds tutorial for USB mass storage module.

Still needs:

  • Example
  • GIF of example's results
  • Description of results for Step 4
  • Bonus problem

@johnnyman727
Copy link
Contributor

We should remove step 3 - that's only a BLE command.

Also, we should tell people where the flash storage was mounted:

var fs = require('fs');
var path = require('path');
var mountPoint = '/mnt/sda1';

fs.readFile(path.join(mountPoint, 'myFile.txt'), function(err, contents) {
  ...
});

The first flash drive you plug in will be mounted at /mnt/sda1 and the second will be mounted at /mnt/sdb1.

We may also want to note this corner case?

@Frijol
Copy link
Member Author

Frijol commented Feb 3, 2016

mountPount > mountPoint I think in your code above?

@johnnyman727
Copy link
Contributor

Yes, thanks.

@Frijol Frijol changed the title [WIP] adds USB storage module tutorial adds USB storage module tutorial Feb 24, 2016
@Frijol
Copy link
Member Author

Frijol commented Feb 24, 2016

anyone is welcome to review, @johnnyman727 you can be on point for it if no one else wants to

@johnnyman727
Copy link
Contributor

looks great to me!

Frijol added a commit that referenced this pull request Feb 24, 2016
adds USB storage module tutorial
@Frijol Frijol merged commit d6a513d into gh-pages Feb 24, 2016
@Frijol Frijol deleted the kb-flash branch February 24, 2016 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants