Oliver Fabel 1 год назад
Родитель
Сommit
f5376c0bda
3 измененных файлов с 17 добавлено и 2 удалено
  1. 1 1
      docs/pages/index.rst
  2. 0 1
      docs/pages/quickstart.md
  3. 16 0
      docs/pages/quickstart.rst

+ 1 - 1
docs/pages/index.rst

@@ -40,7 +40,7 @@ How to Start
 1. Install the application from the `Flipper Lab <https://lab.flipper.net/apps/upython>`_ on your Flipper device.
 1. Install the application from the `Flipper Lab <https://lab.flipper.net/apps/upython>`_ on your Flipper device.
 2. Write some Python code or use one of the provided `examples <https://github.com/ofabel/mp-flipper/tree/master/examples>`_.
 2. Write some Python code or use one of the provided `examples <https://github.com/ofabel/mp-flipper/tree/master/examples>`_.
 3. Use the `qFlipper <https://flipperzero.one/update>`_ application to upload the code to your Flipper's SD card.
 3. Use the `qFlipper <https://flipperzero.one/update>`_ application to upload the code to your Flipper's SD card.
-4. Use the **uPython** application on your Flipper to execute your Python script.
+4. Start the **uPython** application on your Flipper to execute your Python script.
 
 
 Checkout the :doc:`reference </reference>` section for an in-depth API documentation.
 Checkout the :doc:`reference </reference>` section for an in-depth API documentation.
 
 

+ 0 - 1
docs/pages/quickstart.md

@@ -1 +0,0 @@
-# Quickstart

+ 16 - 0
docs/pages/quickstart.rst

@@ -0,0 +1,16 @@
+Quickstart
+==========
+
+1. Install the application from the `Flipper Lab <https://lab.flipper.net/apps/upython>`_ on your Flipper device.
+2. Write some Python code or use one of the provided `examples <https://github.com/ofabel/mp-flipper/tree/master/examples>`_.
+3. Use the `qFlipper <https://flipperzero.one/update>`_ application to upload the code to your Flipper's SD card.
+4. Start the **uPython** application on your Flipper to execute your Python script.
+
+Usage
+-----
+
+You can also use the CLI interface to execute a Python scripts:
+
+.. code-block:: Bash
+
+   loader open /ext/apps/Tools/upython.fap /ext/scripts/tic_tac_toe.py