Navigation

    M5Stack Community

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

    F1CJN_Alain

    @F1CJN_Alain

    0
    Reputation
    2
    Posts
    311
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    F1CJN_Alain Follow

    Posts made by F1CJN_Alain

    • RE: Compile but does not work with a for next loop

      Thanks a lot, Félix. I was concentrated on a big file and did not notice this .
      Regards
      Alain Hamradio F1CJN

      posted in Arduino
      F
      F1CJN_Alain
    • Compile but does not work with a for next loop

      My short exemple prints a number on the screen
      But if I include a for next loop , it compiles but does not show the number on the M5 core screen.
      If I uncomment the" for next" line, it does not print on the screen . Why ?

      #include <M5Stack.h>
      #include "M5StackUpdater.h"
      float voltage = 2224.33;

      void setup() {
      M5.begin();
      }
      void loop() {
      //for (int i = 1; i = 10; i++) {}
      M5.Lcd.setTextColor(WHITE, BLUE);
      M5.Lcd.drawString("Voltage = "+String(voltage)+" mV ",30,40,4);
      delay(50);
      }

      posted in Arduino
      F
      F1CJN_Alain