Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

attachInterrupt(USER_BUTTON_B,...) & new LSM6DSLSensor(*i2c, D4, D5) #895

Open
ArthurMa1978 opened this issue Aug 3, 2018 · 3 comments
Open

Comments

@ArthurMa1978
Copy link
Member

From @Adamantinu on July 9, 2018 14:14

If you attach an Interrupt to the User_Button_B and add the LSM6DSLSensor for the gyroscope, the interrupt is not working anymore.

EDIT: Same Code works as expected when attaching the interrupt to USER_BUTTON_A instead

Copied from original issue: microsoft/azure-iot-developer-kit#386

@lirenhe
Copy link
Member

lirenhe commented Aug 24, 2018

@Adamantinu, could you provide the detailed repro step and code for this issue?
This would help us investigate the problem

@ArthurMa1978 ArthurMa1978 modified the milestones: Sprint 140, Backlog Aug 30, 2018
@flexray
Copy link

flexray commented Aug 27, 2019

I did ag_sensor = new LSM6DSLSensor(*ext_i2c, PB_13, PB_14);
and Button A and B works. Seems like binding do D4/D5 overrides Button B interrupt

@github-actions
Copy link

This issue has no recent activities, please take a look and provide updates for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants