Update EXAMPLES.md
This commit is contained in:
+7
-6
@@ -459,7 +459,7 @@ Global variables use 1013 bytes (39%) of dynamic memory, which leaves 1547 bytes
|
|||||||
|
|
||||||
## 5. *BlinkOnStm32Nucleo144Prop*: the Blink example on an STM32 Nucleo-144 prop with *ArduinoProps library*
|
## 5. *BlinkOnStm32Nucleo144Prop*: the Blink example on an STM32 Nucleo-144 prop with *ArduinoProps library*
|
||||||
|
|
||||||
Sketch with *BlinkOnStm32Nucleo144Prop* has been derived *EthernetProp*.
|
*BlinkOnStm32Nucleo144Prop* sketch has been derived *BlinkOnEthernetProp*.
|
||||||
|
|
||||||
Includes for STM32 are different:
|
Includes for STM32 are different:
|
||||||
```c
|
```c
|
||||||
@@ -471,6 +471,12 @@ Includes for STM32 are different:
|
|||||||
extern Stm32MillisClass Stm32Millis;
|
extern Stm32MillisClass Stm32Millis;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`millis()` is missing in STM323duino library, you must start **Stm32Millis** in `setup()`:
|
||||||
|
```c
|
||||||
|
// millis() missing in STM32duino
|
||||||
|
Stm32Millis.begin();
|
||||||
|
```
|
||||||
|
|
||||||
Ethernet connection start is slightly different:
|
Ethernet connection start is slightly different:
|
||||||
```c
|
```c
|
||||||
if (ip == IPAddress(0,0,0,0)) {
|
if (ip == IPAddress(0,0,0,0)) {
|
||||||
@@ -484,11 +490,6 @@ Ethernet connection start is slightly different:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
`millis()` is missing in STM323duino library, you must start **Stm32Millis** in `setup()`:
|
|
||||||
```c
|
|
||||||
// millis() missing in STM32duino
|
|
||||||
Stm32Millis.begin();
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Pay atention to the board MAC address:
|
#### Pay atention to the board MAC address:
|
||||||
MAC adresses are hardware identifiers on the network so they must be unique.
|
MAC adresses are hardware identifiers on the network so they must be unique.
|
||||||
|
|||||||
Reference in New Issue
Block a user