Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM Implementation #4

Open
wallarug opened this issue Sep 3, 2019 · 0 comments
Open

PWM Implementation #4

wallarug opened this issue Sep 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@wallarug
Copy link
Member

wallarug commented Sep 3, 2019

Please implement the PWM functionality for CircuitPython Seesaw.

seesaw/include/RegisterMap.h

//* ================ Timer ===================== *//
#define SEESAW_TIMER_BASE 0x08

	/****** STATUS *****/
	#define SEESAW_TIMER_STATUS 0x00

	//this is asserted when this encorunters an error
	#define SEESAW_TIMER_STATUS_ERROR_BITS 0x01
	
	/****** PWM *****/
	#define SEESAW_TIMER_PWM 0x01
	
	/****** FREQ ****/
	#define SEESAW_TIMER_FREQ 0x02

Documentation: https://learn.adafruit.com/adafruit-seesaw-atsamd09-breakout/pwm

CircuitPython Learn Guide: https://learn.adafruit.com/circuitpython-essentials/circuitpython-pwm

@wallarug wallarug added the enhancement New feature or request label Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant