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

hardware #1

Open
alk99-abderrahman opened this issue Nov 17, 2022 · 0 comments
Open

hardware #1

alk99-abderrahman opened this issue Nov 17, 2022 · 0 comments

Comments

@alk99-abderrahman
Copy link

hello . your code is amazing .the first time it didn't work at first time it print "We don't know this device" but i edited so it works

void settingsSetup() {
  String macAddress = WiFi.macAddress();
  for ( int i = 0; i < NELEMS(ids); i++ ) {
    t_device_ids * dev_id = & ids[i];
    if ( dev_id->macAddr == macAddress ) {
      current_device_ids = dev_id;
      Serial.print("Device identified: " + dev_id->name + "\n" );
      return;
    }
  }
 
 Serial.print("We don't know this device (" + macAddress + ")\n");
return;

### I added this return;

i want to add some sensors (light sensor IR sensor BPM sensor ) is there any datasheet or schème for this card i bout it from Aliexpress
thanks in advance

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

1 participant