Skip to content

Commit

Permalink
Virtual weights built in
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyer88 committed Nov 1, 2020
1 parent d1ad6b6 commit 701b52a
Show file tree
Hide file tree
Showing 10 changed files with 1,297 additions and 3,720 deletions.
2,482 changes: 1,276 additions & 1,206 deletions CG_scale.ino

Large diffs are not rendered by default.

880 changes: 0 additions & 880 deletions data/index.html

This file was deleted.

Binary file added data/index.html.gz
Binary file not shown.
531 changes: 0 additions & 531 deletions data/models.html

This file was deleted.

Binary file added data/models.html.gz
Binary file not shown.
1,094 changes: 0 additions & 1,094 deletions data/settings.html

This file was deleted.

Binary file added data/settings.html.gz
Binary file not shown.
18 changes: 9 additions & 9 deletions defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@ enum {
};


#if defined(ESP8266)
// https update
enum {
PROBE_UPDATE,
UPDATE_FIRMWARE,
UPDATE_SPIFFS
};


// console msg type
enum {
T_BOOT,
Expand All @@ -69,6 +60,15 @@ enum {
T_UPDATE,
T_HTTPS
};


#if defined(ESP8266)
// https update
enum {
PROBE_UPDATE,
UPDATE_FIRMWARE,
UPDATE_SPIFFS
};
#endif


Expand Down
6 changes: 6 additions & 0 deletions settings_ESP8266.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,11 @@ const char ip[4] = {1,2,3,4}; // default IP address



// **** virtual weight settings ****

#define MAX_VIRTUAL_WEIGHT 10



// **** end of settings ****
#warning ESP8266 settings have been loaded
6 changes: 6 additions & 0 deletions settings_WIFI_KIT_8.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,11 @@ const char ip[4] = {1,2,3,4}; // default IP address



// **** virtual weight settings ****

#define MAX_VIRTUAL_WEIGHT 10



// **** end of settings ****
#warning WIFI KIT 8 settings have been loaded

0 comments on commit 701b52a

Please sign in to comment.