Skip to content

madgooselabs/JLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

License

JLM interface library

Allows one to easily port JLM reading/smoothing code and stack interfaces on top, regardless of the board. So long as said board has an Arduino core anyway.

How do I shot web

#include <JLM.hpp>

JLM jlm;
char buf[512];

void setup()
{
	jlm.begin(sampleRate, analogPinX, deadzoneX, reverseDeadzoneX, analogPinY, deadzoneY, reverseDeadzoneY, analogPinButton);
}

void loop()
{
	jlm.sample();
	
	// Do whatever with the inputs
}

Access the JLM readings through the attributes x, y, and the button() method.

TODO

  • Button
  • "Debouncer" for fast reversing

About

Library to easily interface with the JLM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages