001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal; 006 007public class AddressableLEDJNI extends JNIWrapper { 008 public static native int initialize(int pwmHandle); 009 010 public static native void free(int handle); 011 012 public static native void setLength(int handle, int length); 013 014 public static native void setData(int handle, byte[] data); 015 016 public static native void setBitTiming( 017 int handle, int lowTime0, int highTime0, int lowTime1, int highTime1); 018 019 public static native void setSyncTime(int handle, int syncTime); 020 021 public static native void start(int handle); 022 023 public static native void stop(int handle); 024}