Giter Site home page Giter Site logo

serialcompython's People

Contributors

kayrlas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

serialcompython's Issues

seems not compatible with python 3.8

AppData\Local\Programs\Python\Python38\lib\tkinter\ttk.py", line 717, in current
return self.tk.call(self._w, "current", newindex)
_tkinter.TclError: Index 0 out of range

could you pls run your code in pthon 3.8? thanks in advance.
onegaisimasu

Hi There!
what i wanted to create was a serial tool with real-time graph in it.
shall we create it together?
I am just new to python, might need your help.
[email protected]

Add Exception Raise

serial.SerialException sometimes occurs when opening a comport. Users must control this exception, but you catch and hide it in SerialComPython. So, please add an exception class and raise it.

_inp_yn = input("Open %s ? [Yes/No] >> " % self.serial.port).lower()
if _inp_yn in ["y", "yes"]: # YES
print("Opening...")
try:
self.serial.open()
except SerialException:
print("%s was disconnected while you input [Yes/No]" % self.serial.port)
return False
else:
return True
elif _inp_yn in ["n", "no"]: # NO
print("Canceled")
return False
else: # Other than [Yes/No]
print("Oops, you didn't enter [Yes/No]. Please try again.")
return False

TX thread starts before rx received

image

When trying to send data to my microcontroller, sometimes i get the rx first and then it asks me to send another data, but sometimes when i send data, it asks for TX before getting the response and printing the RX and then it stucks,
is it a problem with my microcontroller code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.