- ๐ Hi, Iโm @kevinmcaleer
- ๐ I design and build robots, make videos about them on YouTube, bring them to life with code and have a whole load of fun along the way
- ๐ฑ Iโm currently learning Python and MicroPython
- ๐๏ธ Iโm looking to collaborate on anything to do with Robotics, though my time and focus is limited (Hobby time)
- ๐ซ How to reach me - via our Discord server, sign up here: https://www.kevsrobots.com/discord
easy_comms's Introduction
easy_comms's People
easy_comms's Issues
the code doesn't work for me
i flashed the picoA file in one rasberry pico and the picoB on the other one and in both picos i flashed the easy_comms file . I don't understand why it doesn't work , it is the same code. I also run one pico from one pc and the othr pico with another pc . or should i run it both picos in the same pc ?
-
The output of pico_comms_a :
ahoy sending message: ahoy
-
the output of pico_comms_b :
ahoy sending message: ahoy sending message: helloA,0
How fast can this go?
I want to know the max speed this program can go from pico to pico.
def read loops endless
It does it if you don't received anything, you should do this to fix it, I did it in my version.
def read(self)->str:
start_time = time_ns()
current_time = start_time
new_line = False
message = ""
while (not new_line) or (current_time <= (start_time + self.timeout)):
current_time = time_ns()
if (current_time > (start_time + self.timeout)):
new_line = True
if (self.uart.any() > 0):
message = message + self.uart.read().decode('utf-8')
if '\n' in message:
new_line = True
message = message.strip('\n')
# print(f'received message: {message}')
return message
else:
return None
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.