Skip to content

longcongduoi/JN516x-arduino-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 72.1%
  • C 22.2%
  • Other 3.2%
  • Processing 2.5%