Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Slightly order folder structure
  • Loading branch information
NicK4rT committed Nov 6, 2024
1 parent a8c8627 commit 3552e2d
Show file tree
Hide file tree
Showing 23 changed files with 69 additions and 7 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified docs/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions firmware/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# README

## `data/map_data`

Map date and images used in the report are stored here. All of the maps were taken from https://maps.zh.ch/
5 changes: 5 additions & 0 deletions hardware/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# README

## `data/map_data`

Map date and images used in the report are stored here. All of the maps were taken from https://maps.zh.ch/
5 changes: 5 additions & 0 deletions overleaf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# README

## `data/map_data`

Map date and images used in the report are stored here. All of the maps were taken from https://maps.zh.ch/
5 changes: 5 additions & 0 deletions rstudio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# README

## `data/map_data`

Map date and images used in the report are stored here. All of the maps were taken from https://maps.zh.ch/
Binary file modified software/.DS_Store
Binary file not shown.
42 changes: 42 additions & 0 deletions software/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# README

## `software`




###



### Helpful links:

https://chrisrogers.pyscriptapps.com/nick-esp-now/latest/

https://pyscript.com/@chrisrogers/nick-esp-now/latest?files=README.md,sample.py

https://pyscript.com/@nickart/chris-nick-esp-now/latest?files=main.py,index.html,pyscript.toml,styles.css

https://pyscript.com/@nickart/floral-firefly/latest?files=main.py,index.html,pyscript.toml,style.css

https://github.com/micropython/webrepl

https://micropython.org/webrepl/?

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/andrea_terminal.py

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/restapi.py

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/file_os.py

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/file_transfer.py

https://cdn.jsdelivr.net/npm/[email protected]/serial/+esm

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/Tabs.py

https://chrisrogers.pyscriptapps.com/cbr-libraries/latest/core/andrea_terminal.py

https://xtermjs.org/

https://cdn.jsdelivr.net/npm/[email protected]/serial.js
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added software/libraries/.DS_Store
Binary file not shown.
12 changes: 6 additions & 6 deletions software/tools/boop-o-meters/boop-o-meter 200.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
#networking.aen.send(peer_mac, b'Boop')
message = b'Boop'
# networking.aen.send(peer_mac, message)
networking.aen.send(peer_mac, message, 0x01, 0x10)
networking.aen.ping(peer_mac)
#networking.aen.remove_peer(peer_mac)

def ping():
networking.aen.send(peer_mac, message, 0x01, 0x10)
print(f" RSSI Table at {time.ticks_ms()}: {networking.aen.get_rssi_table()}")
networking.aen.ping(peer_mac)
print(f" RSSI Table at {time.ticks_ms()}: {networking.aen.rssi()}")

async def main():
global boopedn
Expand Down Expand Up @@ -200,11 +200,11 @@ def action(pin):
return #Prevent Scan from being spammed
update_last_press_time()
show_message(" Scanning...")
show_message(f" {len(networking.aen.get_rssi_table())} peers found!")
show_message(f" {len(networking.aen.rssi())} peers found!")
asyncio.create_task(clear_message(message_id))
show_list(clist, hindex)
elif hindex == 1:
clist = list(networking.aen.peers.keys()) + ["Back"]
clist = list(networking.aen.peers().keys()) + ["Back"]
mindex = 1
hindex = 0
show_list(clist, hindex)
Expand All @@ -218,7 +218,7 @@ def action(pin):
else:
selected_peer = clist[hindex]
print(f" Booping: {selected_peer}")
networking.aen.send(peer_mac, message, 0x01, 0x13)
networking.aen.echo(peer_mac, message)
boopn += 1
show_list(clist, hindex)
show_message(f"Booping {selected_peer}!")
Expand Down
2 changes: 1 addition & 1 deletion software/tools/boop-o-meters/boop-o-meter 300.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


#custom libraries
import networking
from networking import Networking
from secrets import codes

#libraries
Expand Down

0 comments on commit 3552e2d

Please sign in to comment.