Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1be9e87
docs: Update the docs to include the V2 API (#692)
microbit-mark Dec 3, 2020
71d5eef
Docs: update for V2 neopixel module (#694)
microbit-mark Dec 18, 2020
353e6e1
Docs: Speaker update and play() pin arguments (#695)
microbit-mark Dec 18, 2020
5357b8e
V2 docs: Remove is_on() from speaker. (#696)
microbit-carlos Dec 21, 2020
f9a37b4
V2 docs: Add pin set_touch_mode() (#701)
microbit-mark Jan 8, 2021
070e590
docs: Update Memory layout, Partial Flashing, Building for V2, BLE (#…
microbit-sam Feb 3, 2021
5774623
docs: Include V2 features in tutorials (#709)
microbit-mark Feb 24, 2021
c967053
docs: dev guide updates (#711)
microbit-mark Mar 16, 2021
eab72dd
docs: Indicate pin_speaker is only for PWM (#715)
microbit-mark Apr 7, 2021
79aced6
docs: Fix typo in neopixel, mumber -> number (#727)
microbit-matt-hillsdon Sep 23, 2021
8bc1fe8
docs: Add V2 microbit.set_volume() info. (#742)
microbit-carlos Apr 25, 2022
a870ff4
docs: Add note about possible 250kbit/sec radio rate in V2. (#744)
microbit-carlos Apr 29, 2022
8007c9e
docs: Add data logging API (#720)
microbit-mark Sep 5, 2022
8c107e9
docs: Add Power Management documentation. (#754)
microbit-carlos Sep 5, 2022
1e4265a
docs: Add Sound Effects documentation. (#753)
microbit-carlos Sep 6, 2022
44c2c1a
docs: Add missing `days` parameter to `microbit.run_every`. (#767)
microbit-carlos Sep 12, 2022
0d6f5b7
docs: Rename wave->waveform from SoundEffect. (#765)
microbit-carlos Sep 21, 2022
a538cb8
docs: Update Power Mgm to change run_every behaviour. (#769)
microbit-carlos Oct 24, 2022
202fab2
docs: Overwrite configued version always be '2' for v2-docs.
microbit-carlos Nov 15, 2022
8c42897
docs: Update URL to download arm-none-eabi-gcc. (#787)
microbit-carlos Dec 6, 2022
905577a
docs: Improve microphone description, add more info for `set_threshol…
microbit-carlos Apr 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Docs: update for V2 neopixel module (#694)
* Docs: update for RGBW neopixel

* Docs: RGBW neopixels

* Update docs/neopixel.rst

Co-authored-by: Carlos Pereira Atencio <[email protected]>

* Update docs/neopixel.rst

Co-authored-by: Carlos Pereira Atencio <[email protected]>

* change to bpp

* change to bpp

* add image attribution

* Update docs/neopixel.rst

Co-authored-by: Carlos Pereira Atencio <[email protected]>

* Add V2 methods

* Docs: Update neopixel

Co-authored-by: Carlos Pereira Atencio <[email protected]>
  • Loading branch information
microbit-mark and microbit-carlos committed Sep 16, 2024
commit 71d5eef67e87e701b5627cfdd9de9131a36c43c8
12 changes: 11 additions & 1 deletion docs/neopixel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module, you need to import it separately with::

From our tests, the Microbit NeoPixel module can drive up to around 256
NeoPixels. Anything above that and you may experience weird bugs and
issues. The micro:bit can only supply 90mA to
issues. The micro:bit can only supply 90mA **V1** or 190mA **V2** to
external devices, larger numbers of NeoPixels require an external power
supply with common ground.

Expand Down Expand Up @@ -72,9 +72,19 @@ Classes


.. py:method:: show()
write()

Show the pixels. Must be called for any updates to become visible.
For micro:bit **V2**, an additional ``write()`` method is
available and is equivalent to ``show()``

.. py:method:: fill(colour)

**V2** Colour all pixels a given RGB/RGBW value. The `colour` argument
should be a tuple of the same length as the mumber of bytes per pixel
(bpp). For example ``fill((0,0,255))``. Use in conjunction with
``show()`` to update the Neopixels.

Operations
==========

Expand Down