Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. babygirl1248
    3. Posts
    B
    • Continue chat with babygirl1248
    • Start new chat with babygirl1248
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by babygirl1248

    • Led pins on m5core2

      Hello, I'm trying to figure out what the led pins on the aws version are. I know one is 25 but is there another one associated with it?

      posted in General
      B
      babygirl1248
    • RE: Alarms based on current time? M5Core2

      @babygirl1248 said in Alarms based on current time? M5Core2:

      Hello. I am working with the m5core2 and was really hoping there is a way to run alerts or functions based on the given time? I know the unit has an rtc im just not sure how to use it. Any recommendations or advice would be greatly apricated.

      Thank you for that article, it did clue me into the rtc, however i need a way to run a function at like 7:30 and another at 15:00 and ive been playing with libraries all day with no luck

      posted in General
      B
      babygirl1248
    • Alarms based on current time? M5Core2

      Hello. I am working with the m5core2 and was really hoping there is a way to run alerts or functions based on the given time? I know the unit has an rtc im just not sure how to use it. Any recommendations or advice would be greatly apricated.

      posted in General
      B
      babygirl1248
    • m5core2, speaker/i2s

      Hello, I am trying to get the speaker to work on the m5core2, i have done it before to play wav files but don't remember how i did it. I would greatly appreciate any help i can get. Thank you. I got them beeping through tones, but don't remember how to play an actual file.

      posted in General
      B
      babygirl1248
    • RE: Audio library or function?

      @babygirl1248 said in Audio library or function?:

      Hello, I am trying to find a way to play wav files off of my SD card. I have a project I'm trying to integrate audio into. I tried one I don't remember the name of but it was a i2s library. This worked when and if it wanted too... I'm in the core 2 using arduino ide. Any recommendations would be greatly appreciated! Thank you for your time.

      I have tried the esp8266audio library. and its not working.

      posted in General
      B
      babygirl1248
    • Audio library or function?

      Hello, I am trying to find a way to play wav files off of my SD card. I have a project I'm trying to integrate audio into. I tried one I don't remember the name of but it was a i2s library. This worked when and if it wanted too... I'm in the core 2 using arduino ide. Any recommendations would be greatly appreciated! Thank you for your time.

      posted in General
      B
      babygirl1248
    • RE: Detecting when plugged in VS when charging

      Awesome! Thank you so much for taking the time to look. I really appriciate it.

      posted in General
      B
      babygirl1248
    • RE: Detecting when plugged in VS when charging

      Thank you so much! I will look into this further.

      posted in General
      B
      babygirl1248
    • Detecting when plugged in VS when charging

      Hello, please excuse me for all the posts lately. I am trying to figure out how to detect when the device has been unplugged VS when it's plugged in.
      Lile

      If plugged in run xyz
      And if disconnected from USB run abc.

      If it's inside the mcore2.h file I haven't seen it. I'm also legally blind so I very well could, have missed it too. Thank you giys.

      posted in General
      B
      babygirl1248
    • How to enable the extra 5v power?

      I have the aws version of the core 2, I have read I need to change SetBusPowerMode(0); to SetBusPowerMode(1);. but where do I specify this? Can it be in the ino file? or does it have to be in a header or cpp file?

      EDIT: I found this in the documentation "M5.begin(bool LCDEnable = true, bool SDEnable = true, bool SerialEnable = true, bool I2CEnable = false, mbus_mode_t mode = kMBusModeOutput);" However i get an error saying expected primary expression before bool. Im stuck

      posted in General
      B
      babygirl1248
    • Slow audio? mp3/wav.

      I finally got wav files to play in my code. However im running into a problem. The wav file is played ok but there is stuttering(kinda like when a computer freezes) the audio is really slowed down, and there is static. Has anyone had this problem?

      posted in General
      B
      babygirl1248
    • RE: Dumping .h file to psram/flash?

      closing topic. Got mp3 to work. was trying to use xt_dac but wasn't enough ram to put the audio files (.h) in.

      posted in General
      B
      babygirl1248
    • Dumping .h file to psram/flash?

      I am trying to figure out a way to dump a .h header file (containing music data) onto either PSRAM. sdcard, or flash memory. It won't let me compile the project because of the size. I need to put it somewhere else and I don't know how nor if that is possible.
      side note:
      I have tried many different ways of playing wav and mp3 on the core2 and i can never get any to work. Any suggestions?

      posted in General
      B
      babygirl1248
    • MP3 from internal memory? Core2

      Hello, I am currently using tone generation in my code, and would like to switch it out for mp3 files. I am so lost on how to do this. every mp3 example I find errors out at compiling usualy saying something like from is not a valid (something) cant remember.
      This is my current code:
      if( cfg.dev_mode )
      play_tone(3000, 100, 1);
      else
      play_tone(3000, 100, cfg.warning_volume);

      I would like to replace this with mp3 files stored in internal memory. Does anyone have an example or walkthrough I can try?

      posted in General
      B
      babygirl1248