Everything nRF52840 Compile Question



  • Re: Everything nRF52840

    User NeverDie posted some sample code for transmitting a 1 byte payload 2 2 mps once per second. When I try to bring this code example over, I get a compile error on the third line of the example:
    Serial pc(USBTX, USBRX); // tx, rx

    My guess is that Serial is a typedef, but so far I cannot find it. Is there a header file other than "mbed.h" that includes a typedef for "Serial"?
    Thanks,

    Mike Marks


Log in to reply
 

Suggested Topics

  • 34
  • 3
  • 9
  • 7
  • 9
  • 8
  • 1
  • 1

139
Online

10.0k
Users

10.5k
Topics

108.7k
Posts