Skip to content

Commit

Permalink
docs/psoc6/quickref.rst: Fixed code parser timing.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx authored and actions-user committed May 29, 2024
1 parent b39f2a7 commit bb49844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/psoc6/quickref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ The :mod:`machine` module::
machine.freq() # get the current frequency of the CPU

::

from machine import Bitstream
timing = [1000, 7000, 5000, 2500] #timing (high_time_0, low_time_0, high_time_1, low_time_1)in ns
buf = bytearray([0xAB]) #buffer data
bitstream('P13_6', 0, timing, buf) # bitstrem buffer data with timing through pin P13_6
Expand Down

0 comments on commit bb49844

Please sign in to comment.