Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    tobozo
    @tobozo
    don't have much experience out of that anyway
    Ulrich Rosenbaum
    @jsdungeon
    ok thank you, I'll do some research on that
    tobozo
    @tobozo
    Manfred Müller-Späth
    @mamuesp
    @tobozo - Yeah, these small animals seem to enjoy great popularity as name-givers. :wink:
    lukasmaximus89
    @lukasmaximus89
    Anyone here going to 35C3? I'll be there doing some M5Stack workshops
    Ulrich Rosenbaum
    @jsdungeon
    @lukasmaximus89 Where will it take place?
    lukasmaximus89
    @lukasmaximus89
    Hi Ulrich, it will take place in Leipzig, Germany from the 27th to the 30th. I'll also be visiting makerspaces/hackerspaces in Berlin and Leipzig. So if anyones around it would be great to meet up.
    tobozo
    @tobozo
    Ulrich Rosenbaum
    @jsdungeon
    Hi Lukas, thank you for telling me but I've been too far away - and now I'm even around 11h flight time away from Leipzig ;-)
    How was it?
    lukasmaximus89
    @lukasmaximus89
    Hey guys CCC was great, a bit overwhelming for my first time, but I will definitely attend again. The european hacker/open source scene is very impressive, such diversity an passion at the event. I had young an old attending the M5Stack workshop and hope to do more community outreach in Europe this year.
    @tobozo the lowjs looks cool, Have you been able to get it running on M5Stack?
    tobozo
    @tobozo
    @lukasmaximus89 I tried but there are many crashes with psram
    the only way to use psram without crashes is to make sure nothing else is accessing the SPI while it's being read/written
    Ajb2k3
    @Ajb2k3
    HI guys, lukas invited me here as I'm working on a UIFlow book
    Ajb2k3
    @Ajb2k3
    Anyone know what the *nix /dev/ entry is for the M5's com port?
    I need it for my book but haven't got a nix machine available to test on.
    @tobozo @lukasmaximus89 @jsdungeon @mamuesp @stonemull @grooves38 hi all
    Ulrich Rosenbaum
    @jsdungeon
    @Ajb2k3 Welcome to the club :-)
    Manfred Müller-Späth
    @mamuesp
    @Ajb2k3 - AFAIK it's /dev/usb.... - just test it like this: call ls -la /dev/usb* without the device attached - and then again with the device attached. Then you should see the used port.
    tobozo
    @tobozo
    welcome @Ajb2k3
    *nix dev entries can be /dev/ttyUSBx (with x being the logical port number) or /dev/ttyAMAx
    the /dev/ttyAMA0 is used on some raspberry pi hats
    Ajb2k3
    @Ajb2k3
    @tobozo thank you, That is just what I needed to finish part of my book. Thanks.
    @tobozo thanks
    Ajb2k3
    @Ajb2k3
    @mamuesp thank you.
    @stonemull I'm so glad I looked back over the messages and I didn't know that about the batterys.
    xbary
    @xbary
    @tobozo I think I've found the reason for random readings from PSRAM
    tobozo
    @tobozo
    @xbary nice ! this would enable capturing display at high fps
    is that a design problem as highlighted on the neonious-basics blog ?
    Here describes my problem ^
    tobozo
    @tobozo
    sounds like you're reading free psram before calling psraminit()
    xbary
    @xbary
    this symptom was already after some unspecified working time of the application
    Xtinci0n
    @Xtinci0n
    Thanks
    Ajb2k3
    @Ajb2k3
    Managed to get the M5stack to reset after it ran out of memory. just told it continually to square a variable after 3 lines of numbers it reset.
    tobozo
    @tobozo
    running out of memory so fast ? memory leak in the code ^_^
    tobozo
    @tobozo
    @xbary storing a String in psram can be done as char*
    char* stringToPSram( const char* str ) {
      char *blah = NULL;
      blah = (char*)ps_malloc( strlen( str )*sizeof(char));
      memcpy ( blah, str, strlen(str) );
      return blah;
    }
    char* myStringInPsram = stringToPSram(" blah ");
    String myString = " bee bop bidibop ";
    char* myOtherStringInPsram = stringToPSram( myString.c_str() );
    I did it so far ...
    For processing, the application uses StringPSRAM.
    xbary
    @xbary
    I just observed a bug related to PSRAM ... every now and then it appears in a place where it should not be. :(
    xbary
    @xbary
    It's nice if someone could check on your application by replacing String class with StringPSRAM class. Only where there is a need for temporary storage and text processing.
    Tevin
    @tevin_zhang_twitter
    N88-BASIC running on M5Stack with support of UART and LCD screen? Anyone knows how it works? https://www.youtube.com/watch?v=kMFYnvYmt7w
    tobozo
    @tobozo
    probably using micropython ? there's a 'hidden' BASIC interpreter in every ESP32 but you can't use the LCD from there so it's more likely an emulation
    Ajb2k3
    @Ajb2k3
    Wouldn't know how to check for memory leak
    tobozo
    @tobozo
    hey M5Stack fans :-) I'll soon be releasing source code for hosting M5Stack apps registry and it'll be open to contribution, anyone willing to collaborate ?
    image.png
    tobozo
    @tobozo
    neat ! do I need vscode to compile with aws-idf ?
    chegewara
    @chegewara
    No