Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mindstorms NXT Playground Book for iPad

ngs
March 04, 2017

Mindstorms NXT Playground Book for iPad

ngs

March 04, 2017
Tweet

More Decks by ngs

Other Decks in Programming

Transcript

  1. Mindstorms NXT
    Playground Book for iPad
    Atsushi Nagase / @ngs
    https://ngs.io

    View Slide

  2. View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. View Slide

  11. NXC

    View Slide

  12. How built
    • Convert Swift code to NXC code
    • Post NXC code to local HTTP server written in Swift
    language.
    • HTTP server hits nbc NXC complier command
    • Send binary to Mindstorms NXT

    View Slide

  13. TODOs
    • Read sensor inputs
    • Conditional blocks
    • Pass arguments to sub-routines

    View Slide

  14. Fork me
    ngs/mindstorms-nxt-playground-book

    View Slide