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

Multiple modules getMode not consistent #164

Open
d82k opened this issue Aug 21, 2024 · 1 comment
Open

Multiple modules getMode not consistent #164

d82k opened this issue Aug 21, 2024 · 1 comment

Comments

@d82k
Copy link

d82k commented Aug 21, 2024

Hello
I have two CC1101 modules connected to different pins to an ESP32 S2 mini.
they are both initialized as needed eg.
ELECHOUSE_cc1101.setModul(0);
ELECHOUSE_cc1101.addSpiPin(...);
ELECHOUSE_cc1101.addGDO(...);
[...]
ELECHOUSE_cc1101.SetRx();

I cannot query the module status properly.
as example if one is idle and one is set as RX, using
ELECHOUSE_cc1101.setModul(0);
status0 = ELECHOUSE_cc1101.getMode();
and
ELECHOUSE_cc1101.setModul(1);
status1 = ELECHOUSE_cc1101.getMode();

the status is for both module is set to RX.

similar if I stop one of the two eg:

ELECHOUSE_cc1101.setModul(0);
ELECHOUSE_cc1101.setSidle();

also module 1 with getMode() will report idle.

any ideas please?
Kind regards,
dk

@IndieMash
Copy link

Hi, I'm probably to late for this but did you manage to figure this out? If you did, it would be much appreciated if you shared your script. The developer has been saying he will upload an example script for a while now.

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

No branches or pull requests

2 participants