Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. ardisd
    A
    • Continue chat with ardisd
    • Start new chat with ardisd
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    ardisd

    @ardisd

    0
    Reputation
    6
    Posts
    1051
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    ardisd Follow

    Posts made by ardisd

    • RE: Serial2 Don't compile

      @nnn 在 Serial2 Don't compile 中说:

      HardwareSerial Serial2_(2)

      Thanks

      That worked for me

      David Ardis

      posted in PROJECTS
      A
      ardisd
    • RE: Serial2 Don't compile

      Just the standard serial2 sketch

      #include <M5Stack.h>

      HardwareSerial Serial2(2);

      void setup() {

      M5.begin();

      Serial.begin(115200);

      // Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
      Serial2.begin(115200, SERIAL_8N1, 16, 17);
      }

      void loop() {

      if(Serial.available()) {
      int ch = Serial.read();
      Serial2.write(ch);
      }

      if(Serial2.available()) {
      int ch = Serial2.read();
      Serial.write(ch);
      }
      }

      posted in PROJECTS
      A
      ardisd
    • RE: Serial2 Don't compile

      Upgraded to 1.8.7 was on 1.8.5

      This is the error now

      0_1537112496486_Capture.JPG

      posted in PROJECTS
      A
      ardisd
    • RE: Serial2 Don't compile

      Enclosed screen shot as requested

      I get the same error when compiling Serial2.ino and my own code

      0_1537097249952_Capture.JPG

      posted in PROJECTS
      A
      ardisd
    • Serial2 Don't compile

      I have recently changed to using https://dl.espressif.com/dl/package_esp32_index.json in the boards manager now any application using serial2 wont comple. I get an error Error compiling for board M5Stack-Core-ESP32.

      Thanks

      David Ardis

      posted in PROJECTS
      A
      ardisd
    • Powering M5Stack

      I have just got an M5Stack and Proto. I can only get the module to work on battery power if the Proto is between the Main Module and Bottem is this normal.

      David Ardis

      posted in PRODUCTS
      A
      ardisd