Advertisement
RuiViana

Teste_EEPROM_Float

Mar 24th, 2018
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <EEPROM.h>
  2. float teste = 0;
  3. float xpto = 123.45;
  4. void setup()
  5. {
  6.  
  7.   Serial.begin(9600);
  8.   EEPROM.put(0, xpto);
  9.   EEPROM.get(0, teste);
  10.  
  11.   Serial.println(teste);
  12. }
  13.  
  14. void loop()
  15. {
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement