Skip to content

hardware #1

@alk99-abderrahman

Description

@alk99-abderrahman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions