fix on alert info

This commit is contained in:
Emmanuel Florent
2019-07-09 14:48:53 +02:00
parent 4f7157cdd5
commit 05cbedee36
99 changed files with 154 additions and 156 deletions

View File

@@ -131,7 +131,7 @@ This library is split into two layers. The top level `OTA` class implements all
{{% hint style="danger" %}}
Although the above code is functional, it is provided only as an example of how an end user might implement a OTA update mechanism. It is not 100% feature complete e.g. even though it does backup previous versions of files, the roll back procedure is not implemented. This is left of the end user to do.
{{< /hint >}}
{{% /hint %}}
## Example
@@ -139,7 +139,7 @@ Below is am example implementing the methodology previously explained in this tu
{{% hint style="info" %}}
The example below will only work on a Pycom device with LoRa capabilities. If want to test it out on a device without LoRa functionality then simply comment out any code relating to LoRa. Leaving just the `WiFiOTA` initialisation and they `ota.connect()` and `ota.update()`
{{< /hint >}}
{{% /hint %}}
```python

View File

@@ -113,7 +113,7 @@ data = rmt.pulses_get()
{{% hint style="danger" %}}
If tx_idle_level is not set to the opposite of the third value in the tx_carrier tuple, the carrier wave will continue to be generated when the RMT channel is idle.
{{< /hint >}}
{{% /hint %}}
## Receiving

View File

@@ -57,4 +57,4 @@ clock = Clock()
{{% hint style="info" %}}
There are no restrictions to what can be done in an interrupt. For example, it is possible to even do network requests with an interrupt. However, it is important to keep in mind that interrupts are handled sequentially, so it's good practice to keep them short. More information can be found in [`Interrupt Handling`](/firmwareapi/notes#interrupt-handling).
{{< /hint >}}
{{% /hint %}}

View File

@@ -33,7 +33,7 @@ When changing the WLAN mode, if following the instructions below, the WLAN conne
2. Duplicate the REPL on UART. This way commands can be run via Serial USB.
{{< /hint >}}
{{% /hint %}}
## Connecting to a Router
@@ -84,7 +84,7 @@ if not wlan.isconnected():
{{% hint style="info" %}}
Notice how we check for the reset cause and the connection status, this is crucial in order to be able to soft reset the LoPy during a telnet session without breaking the connection.
{{< /hint >}}
{{% /hint %}}
## Multiple Networks using a Static IP Address