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 007@SuppressWarnings("AbbreviationAsWordInName") 008public class AddressableLEDJNI extends JNIWrapper { 009 public static native int initialize(int pwmHandle); 010 011 public static native void free(int handle); 012 013 public static native void setLength(int handle, int length); 014 015 public static native void setData(int handle, byte[] data); 016 017 public static native void setBitTiming( 018 int handle, int lowTime0, int highTime0, int lowTime1, int highTime1); 019 020 public static native void setSyncTime(int handle, int syncTime); 021 022 public static native void start(int handle); 023 024 public static native void stop(int handle); 025}