Git Product home page Git Product logo

jn516x-arduino-package's Introduction

About

This is arduino add-on package for NXP JN516x platform.

Install

Install JN516x plugin to arduino

for Arduino 1.6.4 or newer versions.

for Arduino 1.6.3 or older versions.

  • Extract plugin archive into [arduino_root]/hardware/soburi folder.
  • Extract toolchain archive into into [arduino_root]/hardware/tools folder.
  • Put a platform.local.txt that contains following line,
runtime.tools.jn516x-tools.path={runtime.ide.path}/hardware/tools/jn516x-tools/

into a plugin archive extracted folder.

Install JN516x SDK

Install JN516x-JenNet-IP Stack SDK.

Windows

Simply install to default destination (C:\Jennic).

MacOSX and Linux

Use wine to launch installer program. Install to Z:\opt\Jennic(point to /opt/Jennic in filesystem).

API implement status

Already implemented

Digital I/O

  • pinMode()
  • digitalWrite()
  • digitalRead()

Analog I/O

  • analogReference()
  • analogRead()
  • analogWrite()

Advanced I/O

  • shiftOut()
  • shiftIn()

Time

  • millis()
  • micros()
  • delay()

Math

  • min()
  • max()
  • abs()
  • constrain()
  • map()
  • pow()
  • sqrt()

Trigonometry

  • sin()
  • cos()
  • tan()

Random Numbers

  • randomSeed()
  • random()

Bits and Bytes

  • lowByte()
  • highByte()
  • bitRead()
  • bitWrite()
  • bitSet()
  • bitClear()
  • bit()

Interrupts

  • interrupts()
  • noInterrupts()

External Interrupts

  • attachInterrupt()
  • detachInterrupt()

Communication

  • Serial
  • Stream

Not implemented yet.

Time

  • delayMicroseconds()

Advanced I/O

  • tone() This function will follow the implementation status of Arduino Due.
  • noTone() This function will follow the implementation status of Arduino Due.
  • pulseIn() System dependent constants are not tuned.

Limitation by Hardware difference

Not support function.

  • analogReadResolution()
  • analogWriteResolution()
  • Keyboard
  • Mouse

Interrupt mode

JN516x does not support LEVEL triggerd and both edge triggerd interruption, support only RISING and FALLING. attatchInterrupt() treat HIGH, LOW, CHANGE as RISING.

jn516x-arduino-package's People

Contributors

soburi avatar

Watchers

Long Dao 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.