Navigation

    M5Stack Community

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

    firehopper

    @firehopper

    1
    Reputation
    6
    Posts
    1223
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    firehopper Follow

    Posts made by firehopper

    • RE: RoverC and JoyC

      @firehopper never mind, had wrong joyc firmware loaded.. all good now.

      posted in Units
      F
      firehopper
    • RE: RoverC and JoyC

      I just go my rover c and joyc .. loaded the firmware on each one, but Cant figure out how to get the 2 to talk to each other
      says hold a5, which button is that? please help

      posted in Units
      F
      firehopper
    • RE: issue compiling m5stickc joyc.ino in arduino.

      @hague that fixed it, thanks!

      posted in M5 Stick/StickC
      F
      firehopper
    • issue compiling m5stickc joyc.ino in arduino.

      I dont know if this is the right place to post it but.

      I downloaded the newest files for joyC and roverC due to the fact my roverC and joyC should be arriving soon, roverC does compile. joyC does not. the errors I get.

      Arduino: 1.8.9 (Windows 10), TD: 1.47-beta7, Board: "M5Stick-C, Default, 1500000, None"

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'void JoyC::SetLedColor(uint32_t)':

      JoyC.cpp:31:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.writeBytes(JOYC_ADDR, JOYC_COLOR_REG, color_buff, 3);
      
          ^
      

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetX(uint8_t)':

      JoyC.cpp:39:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.readByte(JOYC_ADDR, read_reg, &value);
      
          ^
      

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetY(uint8_t)':

      JoyC.cpp:48:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.readByte(JOYC_ADDR, read_reg, &value);
      
          ^
      

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint16_t JoyC::GetAngle(uint8_t)':

      JoyC.cpp:57:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.readBytes(JOYC_ADDR, read_reg, 2, i2c_read_buff);
      
          ^
      

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint16_t JoyC::GetDistance(uint8_t)':

      JoyC.cpp:66:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.readBytes(JOYC_ADDR, read_reg, 2, i2c_read_buff);
      
          ^
      

      C:\Users\admin\AppData\Local\Temp\arduino_build_959934\sketch\JoyC.cpp: In member function 'uint8_t JoyC::GetPress(uint8_t)':

      JoyC.cpp:73:8: error: 'class M5StickC' has no member named 'I2C'

       M5.I2C.readByte(JOYC_ADDR, JOYC_PRESS_REG, &press_value);
      
          ^
      

      Using library M5StickC at version 0.1.1 in folder: C:\Users\admin\Documents\Arduino\libraries\M5StickC
      Using library Wire at version 1.0.1 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire
      Using library SPI at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI
      Using library FS at version 1.0 in folder: C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS
      exit status 1
      'class M5StickC' has no member named 'I2C'

      let me know what I need to do to fix it? there doesnt seem to be a update for the m5stickC lib so not sure what else to do..

      posted in M5 Stick/StickC
      F
      firehopper
    • RE: m5stack and arduino cant upload anything

      okay apparently my issue was a bad driver for the silicon labs cpxxx chip, installed a new driver and it seems to work now.

      posted in Arduino
      F
      firehopper
    • m5stack and arduino cant upload anything

      I get this error when trying to upload a program to the m5stack fire.
      A fatal error occurred: Failed to connect to Espressif device: Invalid head of packet (0x0D)

      esptool.py v2.6
      Serial port COM1
      Connecting............................____.....
      Chip is ESP32D0WDQ6 (revision 1)
      Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
      MAC: 24:0a:c4:a6:55:34
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 921600
      Changed.
      Configuring flash size...
      Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
      Compressed 8192 bytes to 47...

      A fatal error occurred: Timed out waiting for packet content
      A fatal error occurred: Timed out waiting for packet content

      posted in Arduino
      F
      firehopper