Rico DelaSancha

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: mDoT LoRA Connect Example: No Console Messages #13536
    Rico DelaSancha
    Participant

    Hi, Ashu

    you probably need to use the “pc.printf” instead.

    I’m using the USB Mbed programmer and it works well !

    // Serial via USB for debugging only

    Serial pc(USBTX,USBRX);
    ...
      pc.baud(115200);
      pc.printf("TTN mDot LoRa Temperature sensor starting ... \r\n");
      pc.printf("Network Address ");
        netAddress = dot->getNetworkAddress();
        for (std::vector<uint8_t>::iterator it = netAddress.begin() ; it != netAddress.end(); ++it)
            pc.printf("%2.2x",*it );

    cheers
    Rico

Viewing 1 post (of 1 total)