Designed for developers
Tools and APIs are designed for developers by developers. Our test suite enables test driven development. Get involved in the BETA program or development channels!
CANStick is an easy to use USB to CAN adapter for computers, chromebooks, mobile devices, and other embedded devices. CANStick supports APIs for popular languages and is so easy to use that you will be up in running
in 10 minutes or less.
Tools and APIs are designed for developers by developers. Our test suite enables test driven development. Get involved in the BETA program or development channels!
Up and running in 10 minutes or less! Code examples and instructional videos available for all major platforms. Install instantly with your favorite package manager.
Open Source developer SDKs available for Raspberry Pi, Arduino, Beaglebone, and other platforms with Yocto recipes and Debian/Ubuntu packages.
SDKs and example Applications for Chromebooks, Tablets, and Phones running on Chrome OS, and Android KitKat, Lollipop, Marshmallow, and Nougat.
Development is done in Github open-source repos to provide transparency, easy customization, community support, and easy cross-compiling for new targets.
Software licenses for open-source software is permissive with an Apache License. Closed source applications are easily extendable with Javascript plug-ins.
Python 2.x and 3.x
import canstick
canstick.init(CANSTICK_29BIT,0x20)
canstick.send("hello world!")
Support for GNU, CLang, Keil, Green Hills, Microsoft Visual Studio compilers across C99 C11 and C++ 99, C++11, C++14
#include <stdint.h>
#include "canstick.h"
int main(int argc, char **argv)
{
canstick_init(CANSTICK_29BIT,0x20); // initialize with source address 0x20
canstick_send("hello world!");
}
Support for Java 8, Java 9, and Java 10, both OpenJDK and Sun Java SDKs
import io.canstick;
public class HelloCANStick {
public static void main(String[] args) {
CANStick device = new CANStick(CANSTICK_29BIT, 0x20);
device.send("hello world!");
}
}
View the full project source code and documentation and get involved!.