Usage of F macro in Serial.print in Pico? #1574
                  
                    
                      martinerk0
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| No, it's not useful and is a noop. Constant strings are left in flash and not copied into SRAM. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Is using of F macro in
Serial.print(F("looong string"));situations useful in Pico? UNO3 has 2kB of SRAM, but Pico has 264KB of SRAM and flash is supposed to be slower, although according to this not so much. On the other hand, you could wear out flash?Beta Was this translation helpful? Give feedback.
All reactions