Giter VIP home page Giter VIP logo

philipssicpemulator's Introduction

#Philips SICP emulator

Work in progress

Philips SICP emulator on Arduino. Send Philips SICP commands over a serial line to your Arduino. Get valid SICP responses back from Arduino

The emulator

  • parses the incoming serial data
  • looks for a control byte
  • calculates the length
  • validates the checksum

The emulator contains 2 byte arrays, one for the supported request commands, and one for the corresponding responses.

So when a client sends 0x06,0x01,0x00,0xA2,0x00,0xA5 he'll receive 0x09,0x01,0x01,0xA2,0x31,0x2E,0x38,0x38,0xB4.

byte requests[][10] = {  
                        {0x06,0x01,0x00,0xA2,0x00,0xA5},
                        {0x05,0x01,0x00,0x19,0x1D},
                        {0x05,0x01,0x00,0xAD,0xA9},
                        {0x05,0x01,0x00,0x2F,0x2B},
                        {0x05,0x01,0x00,0x62,0x66}
                    };


byte responses[][10] = {
                        {0x09,0x01,0x01,0xA2,0x31,0x2E,0x38,0x38,0xB4},
                        {0x06,0x01,0x01,0x19,0x02,0x1D},
                        {0x09,0x01,0x01,0xAD,0x06,0x00,0x01,0x00,0xA3},
                        {0x06,0x01,0x01,0x2F,0x21,0x08},
                        {0x06,0x01,0x01,0x62,0x04,0x60}
                     };

philipssicpemulator's People

Contributors

ddewaele avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.