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

Status Registers #2

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

Status Registers #2

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 SeeSaw status registers in CircuitPython.

seesaw/include/RegisterMap.h

//* ============== STATUS =================== *//
#define SEESAW_STATUS_BASE 0x00

	#define SEESAW_STATUS_HW_ID 0x01
		#define SEESAW_STATUS_HW_ID_CODE 0x55

	#define SEESAW_STATUS_VERSION 0x02
	
	#define SEESAW_STATUS_OPTIONS 0x03

	#define SEESAW_STATUS_TEMP 0x04

	#define SEESAW_STATUS_SWRST 0x7F

The device should send back 0x55 as the Hardware Code.

Implementation details can be found here:
https://github.com/adafruit/seesaw/blob/master/source/Delegate.cpp#L171

@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