Skip to content

Incorrect handling of radio module PWRON pin in SIGFOXClass::end() #15

Open
@alvdiaju

Description

@alvdiaju

I think the SIGFOXClass::end() routine have some issues. See the commented lines for details:

void SIGFOXClass::end()
{
  //Commented. I think its not right to assing LOW as a PIN-MODE
  //pinMode(poweron_pin, LOW);
  //delay(1);
  digitalWrite(chip_select_pin, LOW);
  delay(1);
  spi_port->beginTransaction(SPICONFIG);
  spi_port->transfer(0x05);
  spi_port->endTransaction();
  delay(1);
  digitalWrite(chip_select_pin, HIGH);
  //Added to switch off power supply to Sigfox module
  delay(1);
  digitalWrite(poweron_pin, LOW);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: waiting for informationMore information must be provided before work can proceedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions