-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BLE screenshots, css roles, and new theme
- Loading branch information
Showing
10 changed files
with
152 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# NanoBot | ||
Educational micropython robotics kit | ||
See documentation and start guides [here](https://bram-hub.github.io/NanoNav/) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* Colors and Sizes for sphinx documentation | ||
use like :red `text in red` or :large `large text` | ||
see https://stackoverflow.com/questions/3702865/sphinx-restructuredtext-set-color-for-a-single-word for more info | ||
*/ | ||
.black { | ||
color: black; | ||
} | ||
|
||
.red { | ||
color: red; | ||
} | ||
|
||
.green { | ||
color: green; | ||
} | ||
|
||
.blue { | ||
color: blue; | ||
} | ||
|
||
.yellow { | ||
color: yellow; | ||
} | ||
|
||
.orange { | ||
color: orange; | ||
} | ||
|
||
.purple { | ||
color: purple; | ||
} | ||
|
||
.grey { | ||
color: grey; | ||
} | ||
|
||
/* Sizes */ | ||
.small { | ||
font-size: small; | ||
} | ||
|
||
.medium { | ||
font-size: medium; | ||
} | ||
|
||
.large { | ||
font-size: large; | ||
} | ||
|
||
.x-large { | ||
font-size: x-large; | ||
} | ||
|
||
.xx-large { | ||
font-size: xx-large; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
""" | ||
Skeleton file for documentation docstrings | ||
""" | ||
|
||
from ble_advertising import advertising_payload | ||
import bluetooth | ||
from machine import Pin, PWM, ADC, freq | ||
import machine | ||
from micropython import const | ||
import rp2 | ||
|
||
import time | ||
|
||
|
||
|
||
class BLE: | ||
""" | ||
A helpful wraper around the BLE service functions needed for the Wumpus World project | ||
""" | ||
def __init__(self, ble=bluetooth.BLE(), name="NANO RP2040"): | ||
pass | ||
|
||
def send(self, value): | ||
""" | ||
Send value to the bluetooth characteristic. | ||
:param value: The value to send. | ||
:type value: bytes, int, str | ||
:raise ValueError: If the value is not bytes, int, or str. | ||
""" | ||
pass | ||
|
||
def read(self, as_type="bytes"): | ||
""" | ||
Return the current value of the bluetooth characteristic, or None if an error occurred. | ||
:param as_type: The type to return the value as. Must be one of 'bytes', 'str', or 'int'. | ||
:type as_type: str | ||
:return: The value of the characteristic. | ||
:rtype: bytes, str, int, None | ||
:raise ValueError: If as_type is not 'bytes', 'str', or 'int'. | ||
""" | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters