Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 7734e3e

Browse files
authored
v1.3.0 to add WiFi auto-scan
### Major Release v1.3.0 1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](#10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-15) 2. Minor enhancement to not display garbage when data is invalid
1 parent 65226e7 commit 7734e3e

27 files changed

+2708
-394
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.13
3030
Arduino SAMD Core Version 1.8.11
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-71-generic #79-Ubuntu SMP Wed Mar 24 10:56:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 132 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* [Currently supported Boards](#currently-supported-boards)
1717
* [Currently supported WiFi shields/modules](#currently-supported-wifi-shieldsmodules)
1818
* [Changelog](#changelog)
19+
* [Major Release v1.3.0](#major-release-v130)
1920
* [Release v1.2.0](#release-v120)
2021
* [Release v1.1.3](#release-v113)
2122
* [Release v1.1.2](#release-v112)
@@ -42,7 +43,11 @@
4243
* [5. For Adafruit SAMD boards](#5-for-adafruit-samd-boards)
4344
* [6. For Seeeduino SAMD boards](#6-for-seeeduino-samd-boards)
4445
* [7. For STM32 boards](#7-for-stm32-boards)
46+
* [7.1. For STM32 boards to use LAN8720](#71-for-stm32-boards-to-use-lan8720)
47+
* [7.2. For STM32 boards to use Serial1](#72-for-stm32-boards-to-use-serial1)
4548
* [How It Works](#how-it-works)
49+
* [1. Without SCAN_WIFI_NETWORKS](#1-without-scan_wifi_networks)
50+
* [2. With SCAN_WIFI_NETWORKS](#2-with-scan_wifi_networks)
4651
* [How to use](#how-to-use)
4752
* [ 1. Basic usage](#1-basic-usage)
4853
* [ 2. Add custom parameters](#2-add-custom-parameters)
@@ -55,6 +60,12 @@
5560
* [ 9. To use custom Head Elements](#9-to-use-custom-head-elements)
5661
* [10. To use CORS Header](#10-to-use-cors-header)
5762
* [11. To use and input only one set of WiFi SSID and PWD](#11-to-use-and-input-only-one-set-of-wifi-ssid-and-pwd)
63+
* [11.1 If you need to use and input only one set of WiFi SSID/PWD](#111-if-you-need-to-use-both-sets-of-wifi-ssidpwd)
64+
* [11.2 If you need to use both sets of WiFi SSID/PWD](#112-disable-manually-input-ssids)
65+
* [12. To enable auto-scan of WiFi networks for selection in Configuration Portal](#12-to-enable-auto-scan-of-wifi-networks-for-selection-in-configuration-portal)
66+
* [12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal](#121-enable-auto-scan-of-wifi-networks-for-selection-in-configuration-portal)
67+
* [12.2 Disable manually input SSIDs](#122-disable-manually-input-ssids)
68+
* [12.3 Select maximum number of SSIDs in the list](#123-select-maximum-number-of-ssids-in-the-list)
5869
* [Examples](#examples)
5970
* [ 1. SAMD_WiFiNINA](examples/SAMD_WiFiNINA)
6071
* [ 2. SAMD_WiFiNINA_MQTT](examples/SAMD_WiFiNINA_MQTT)
@@ -134,6 +145,8 @@ New recent features:
134145
- Configurable **Config Portal Title** to be either BoardName or default undistinguishable names.
135146
- Examples are redesigned to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device.
136147
- Configurable **Customs HTML Headers**, including Customs Style, Customs Gead Elements, CORS Header.
148+
- **Scan WiFi networks** for selection in Configuration Portal
149+
137150

138151
#### Currently supported Boards
139152

@@ -179,6 +192,11 @@ This [**WiFiManager_NINA_Lite** library](https://github.com/khoih-prog/WiFiManag
179192

180193
## Changelog
181194

195+
### Major Release v1.3.0
196+
197+
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-15)
198+
2. Minor enhancement to not display garbage when data is invalid
199+
182200
### Release v1.2.0
183201

184202
1. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
@@ -423,6 +441,30 @@ This file must be copied into the directory:
423441

424442
#### 7. For STM32 boards
425443

444+
#### 7.1. For STM32 boards to use LAN8720
445+
446+
To use LAN8720 on some STM32 boards
447+
448+
- **Nucleo-144 (F429ZI, NUCLEO_F746NG, NUCLEO_F746ZG, NUCLEO_F756ZG)**
449+
- **Discovery (DISCO_F746NG)**
450+
- **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)**
451+
452+
you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/1.9.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/1.9.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system) to overwrite the old files.
453+
454+
Supposing the STM32 stm32 core version is 1.9.0. These files must be copied into the directory:
455+
456+
- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4.
457+
- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7.
458+
459+
Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz,
460+
theses files must be copied into the corresponding directory:
461+
462+
- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/system/STM32F4xx/stm32f4xx_hal_conf_default.h`
463+
- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/system/STM32F7xx/stm32f7xx_hal_conf_default.h
464+
465+
466+
#### 7.2. For STM32 boards to use Serial1
467+
426468
**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/1.9.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/1.9.0). You have to modify the files corresponding to your boards, this is just an illustration how to do.
427469

428470
Supposing the STM32 stm32 core version is 1.9.0. These files must be copied into the directory:
@@ -621,7 +663,7 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
621663
622664
#### 11. To use and input only one set of WiFi SSID and PWD
623665
624-
#### 11.1 If you need to use and input only one set of WiFi SSID/PWD.
666+
#### 11.1 If you need to use and input only one set of WiFi SSID/PWD
625667
626668
```
627669
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
@@ -638,6 +680,39 @@ But it's always advisable to use and input both sets for reliability.
638680
#define REQUIRE_ONE_SET_SSID_PW false
639681
```
640682
683+
#### 12. To enable auto-scan of WiFi networks for selection in Configuration Portal
684+
685+
#### 12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal
686+
687+
688+
```
689+
#define SCAN_WIFI_NETWORKS true
690+
```
691+
692+
The manual input of SSIDs is default enabled, so that users can input arbitrary SSID, not only from the scanned list. This is for the sample use-cases in which users can input the known SSIDs of another place, then send the boards to that place. The boards can connect to WiFi without users entering Config Portal to re-configure.
693+
694+
#### 12.2 Disable manually input SSIDs
695+
696+
```
697+
// To disable manually input SSID, only from a scanned SSID lists
698+
#define MANUAL_SSID_INPUT_ALLOWED false
699+
```
700+
701+
This is for normal use-cases in which users can only select an SSID from a scanned list of SSIDs to avoid typo mistakes and/or security.
702+
703+
#### 12.3 Select maximum number of SSIDs in the list
704+
705+
The maximum number of SSIDs in the list is seletable from 2 to 15. If invalid number of SSIDs is selected, the default number of 10 will be used.
706+
707+
708+
```
709+
// From 2-15
710+
#define MAX_SSID_IN_LIST 8
711+
712+
/////////////////////////////////////////////
713+
```
714+
715+
641716
---
642717
---
643718
@@ -668,12 +743,23 @@ After you connected, please, go to http://192.168.4.1 or newly configured AP IP,
668743
<img src="https://github.com/khoih-prog/WiFiManager_NINA_Lite/blob/master/pics/Main.png">
669744
</p>
670745
746+
747+
### 1. Without SCAN_WIFI_NETWORKS
748+
671749
Enter your credentials,
672750
673751
<p align="center">
674752
<img src="https://github.com/khoih-prog/WiFiManager_NINA_Lite/blob/master/pics/Input.png">
675753
</p>
676754
755+
### 2. With SCAN_WIFI_NETWORKS
756+
757+
758+
<p align="center">
759+
<img src="https://github.com/khoih-prog/WiFiManager_NINA_Lite/blob/master/pics/Input_With_Scan.png">
760+
</p>
761+
762+
677763
then click `Save`.
678764
679765
<p align="center">
@@ -1042,7 +1128,7 @@ void loop()
10421128
#define DEBUG_WIFI_WEBSERVER_PORT Serial
10431129
#define WIFININA_DEBUG_OUTPUT Serial
10441130
1045-
#define _WIFININA_LOGLEVEL_ 2
1131+
#define _WIFININA_LOGLEVEL_ 1
10461132
10471133
#define DRD_GENERIC_DEBUG true
10481134
@@ -1072,7 +1158,7 @@ void loop()
10721158
#elif defined(ARDUINO_SAMD_NANO_33_IOT)
10731159
#define BOARD_TYPE "SAMD NANO_33_IOT"
10741160
#elif defined(ARDUINO_SAMD_MKRFox1200)
1075-
#define BOARD_TYPE "SAMD MKRFox1200"
1161+
#define BOARD_TYPE "SAMD MKRFox1200"
10761162
#elif ( defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) )
10771163
#define BOARD_TYPE "SAMD MKRWAN13X0"
10781164
#elif defined(ARDUINO_SAMD_MKRGSM1400)
@@ -1129,17 +1215,17 @@ void loop()
11291215
11301216
#warning Using WIFININA_Generic Library
11311217
#define SHIELD_TYPE "WiFiNINA using WiFiNINA_Generic Library"
1132-
1133-
#include "WiFiNINA_Pinout_Generic.h"
11341218
1219+
#include "WiFiNINA_Pinout_Generic.h"
1220+
11351221
#elif USE_WIFI101
11361222
11371223
#if defined(USE_WIFI_NINA)
11381224
#undef USE_WIFI_NINA
11391225
#endif
11401226
11411227
#define USE_WIFI_NINA false
1142-
1228+
11431229
#define SHIELD_TYPE "WINC1500 using WiFi101 Library"
11441230
#warning Using WiFi101 Library
11451231
@@ -1156,31 +1242,51 @@ void loop()
11561242
#endif
11571243
11581244
#define USE_WIFI101 false
1159-
1245+
11601246
#define SHIELD_TYPE "Custom using Custom WiFi Library"
11611247
#warning Using Custom WiFi Library. You must include here or compile error
1162-
1248+
11631249
#else
11641250
11651251
#define SHIELD_TYPE "Default WiFi using WiFi Library"
11661252
#warning Using fallback WiFi.h Library defined in WiFiWebServer Library.
1167-
1253+
11681254
#endif
11691255
11701256
/////////////////////////////////////////////
11711257
1172-
// Force some params in Blynk, only valid for library version 1.0.1 and later
1173-
#define TIMEOUT_RECONNECT_WIFI 10000L
1258+
// Permit running CONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET times before reset hardware
1259+
// to permit user another chance to config. Only if Config Data is valid.
1260+
// If Config Data is invalid, this has no effect as Config Portal will persist
11741261
#define RESET_IF_CONFIG_TIMEOUT true
1262+
1263+
// Permitted range of user-defined RETRY_TIMES_RECONNECT_WIFI between 2-5 times
1264+
#define RETRY_TIMES_RECONNECT_WIFI 3
1265+
1266+
// Permitted range of user-defined CONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET between 2-100
11751267
#define CONFIG_TIMEOUT_RETRYTIMES_BEFORE_RESET 5
11761268
1177-
// Config Timeout 120s (default 60s)
1269+
// Config Timeout 120s (default 60s). Applicable only if Config Data is Valid
11781270
#define CONFIG_TIMEOUT 120000L
11791271
1272+
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
1273+
// Default is false (if not defined) => must input 2 sets of SSID/PWD
1274+
#define REQUIRE_ONE_SET_SSID_PW true
1275+
11801276
#define USE_DYNAMIC_PARAMETERS true
11811277
11821278
/////////////////////////////////////////////
11831279
1280+
#define SCAN_WIFI_NETWORKS true
1281+
1282+
// To be able to manually input SSID, not from a scanned SSID lists
1283+
#define MANUAL_SSID_INPUT_ALLOWED true
1284+
1285+
// From 2-15
1286+
#define MAX_SSID_IN_LIST 8
1287+
1288+
/////////////////////////////////////////////
1289+
11841290
#include <WiFiManager_NINA_Lite_SAMD.h>
11851291
11861292
#define HOST_NAME "SAMD-Master-Controller"
@@ -1351,7 +1457,7 @@ This is the terminal output when running [**SAMD_WiFiNINA**](examples/SAMD_WiFiN
13511457

13521458
```
13531459
Starting SAMD_WiFiNINA on SAMD NANO_33_IOT
1354-
WiFiManager_NINA_Lite v1.2.0
1460+
WiFiManager_NINA_Lite v1.3.0
13551461
[WN] Hostname=SAMD-Master-Controller
13561462
Flag read = 0xffffffff
13571463
No doubleResetDetected
@@ -1403,7 +1509,7 @@ FFFFFFFFF
14031509

14041510
```
14051511
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1406-
WiFiManager_NINA_Lite v1.2.0
1512+
WiFiManager_NINA_Lite v1.3.0
14071513
[WN] Hostname=SAMD-WIFININA51F485
14081514
[WN] CrCCSum=44880,CrRCSum=-1
14091515
[WN] CCSum=53040,RCSum=-1
@@ -1450,7 +1556,7 @@ FFFFFFFFF
14501556

14511557
```
14521558
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1453-
WiFiManager_NINA_Lite v1.2.0
1559+
WiFiManager_NINA_Lite v1.3.0
14541560
[WN] Hostname=SAMD-Master-Controller
14551561
Flag read = 0xd0d04321
14561562
No doubleResetDetected
@@ -1527,7 +1633,7 @@ HHHHHHHHHH HHHHHHHHHH
15271633

15281634
```
15291635
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1530-
WiFiManager_NINA_Lite v1.2.0
1636+
WiFiManager_NINA_Lite v1.3.0
15311637
[WN] Hostname=SAMD-Master-Controller
15321638
Flag read = 0xd0d04321
15331639
No doubleResetDetected
@@ -1591,7 +1697,7 @@ FF
15911697

15921698
```
15931699
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1594-
WiFiManager_NINA_Lite v1.2.0
1700+
WiFiManager_NINA_Lite v1.3.0
15951701
[WN] Hostname=SAMD-Master-Controller
15961702
Flag read = 0xd0d04321
15971703
No doubleResetDetected
@@ -1647,7 +1753,7 @@ HHHHHHHHH HHHHHHHHHH
16471753

16481754
```
16491755
Start SAMD_WiFiNINA on SAMD NANO_33_IOT
1650-
WiFiManager_NINA_Lite v1.2.0
1756+
WiFiManager_NINA_Lite v1.3.0
16511757
[WN] Hostname=SAMD-Master-Controller
16521758
Flag read = 0xd0d01234
16531759
doubleResetDetected
@@ -1722,6 +1828,11 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield`
17221828

17231829
## Releases
17241830

1831+
### Major Release v1.3.0
1832+
1833+
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-15)
1834+
2. Minor enhancement to not display garbage when data is invalid
1835+
17251836
### Release v1.2.0
17261837

17271838
1. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
@@ -1839,15 +1950,16 @@ Submit issues to: [WiFiManager_NINA_Lite issues](https://github.com/khoih-prog/W
18391950
- [Won't compile for SAMD when USE_DYNAMIC_PARAMETERS set to FALSE #5](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/5) leading to v1.1.1,
18401951
- [SAMD MultiWiFi issues when first WiFi SSID configured in CP is invalid or not available #6](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/6) leading to v1.1.2.
18411952
- [WiFiManager connection attempt to unconfigured ("blank") SSID after restart on SAMD #8](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/8) leading to v1.1.3 and v1.2.0
1842-
1953+
6. Again thanks to [Michael H "bizprof"](https://github.com/bizprof) to be `collaborator, co-author/maintainer` of this library. With the impressive new feature :
1954+
- `Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to v1.3.0
18431955

18441956
<table>
18451957
<tr>
18461958
<td align="center"><a href="https://github.com/thorathome"><img src="https://github.com/thorathome.png" width="100px;" alt="thorathome"/><br /><sub><b>⭐️ Thor Johnson</b></sub></a><br /></td>
18471959
<td align="center"><a href="https://github.com/tcpipchip"><img src="https://github.com/tcpipchip.png" width="100px;" alt="tcpipchip"/><br /><sub><b>⭐️ Miguel Wisintainer</b></sub></a><br /></td>
18481960
<td align="center"><a href="https://github.com/Darvesh7"><img src="https://github.com/Darvesh7.png" width="100px;" alt="Darvesh7"/><br /><sub><b>Darvesh7</b></sub></a><br /></td>
18491961
<td align="center"><a href="https://github.com/piecol"><img src="https://github.com/piecol.png" width="100px;" alt="piecol"/><br /><sub><b>Pierluigi Colangeli</b></sub></a><br /></td>
1850-
<td align="center"><a href="https://github.com/bizprof"><img src="https://github.com/bizprof.png" width="100px;" alt="bizprof"/><br /><sub><b>⭐️ Michael "bizprof"</b></sub></a><br /></td>
1962+
<td align="center"><a href="https://github.com/bizprof"><img src="https://github.com/bizprof.png" width="100px;" alt="bizprof"/><br /><sub><b>⭐️⭐️ Michael "bizprof"</b></sub></a><br /></td>
18511963
</tr>
18521964
</table>
18531965

examples/Mega_WiFiNINA/Mega_WiFiNINA.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void check_status()
6868
WiFiManager_NINA_Lite* WiFiManager_NINA;
6969

7070
#if USING_CUSTOMS_STYLE
71-
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input,select{padding:5px;font-size:1em;}input,select{width:95%;}body{text-align: center;}\
71+
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}\
7272
button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>";
7373
#endif
7474

examples/SAMD_WiFiNINA/SAMD_WiFiNINA.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void check_status()
6969
WiFiManager_NINA_Lite* WiFiManager_NINA;
7070

7171
#if USING_CUSTOMS_STYLE
72-
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input,select{padding:5px;font-size:1em;}input,select{width:95%;}body{text-align: center;}\
72+
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}\
7373
button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>";
7474
#endif
7575

examples/SAMD_WiFiNINA/defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
#define MANUAL_SSID_INPUT_ALLOWED true
173173

174174
// From 2-15
175-
#define MAX_SSID_IN_LIST 6
175+
#define MAX_SSID_IN_LIST 8
176176

177177
/////////////////////////////////////////////
178178

examples/SAMD_WiFiNINA_MQTT/SAMD_WiFiNINA_MQTT.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void MQTT_connect()
292292
}
293293

294294
#if USING_CUSTOMS_STYLE
295-
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input,select{padding:5px;font-size:1em;}input,select{width:95%;}body{text-align: center;}\
295+
const char NewCustomsStyle[] /*PROGMEM*/ = "<style>div,input{padding:5px;font-size:1em;}input{width:95%;}body{text-align: center;}\
296296
button{background-color:blue;color:white;line-height:2.4rem;font-size:1.2rem;width:100%;}fieldset{border-radius:0.3rem;margin:0px;}</style>";
297297
#endif
298298

0 commit comments

Comments
 (0)