Search found 6 matches

by paulc
Mon Dec 18, 2017 8:01 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 47
Views: 24463

Re: Software serial?

Yes I did look at that topic too. But it seemed kind of unfinished and I liked the idea of a software uart better.
It looks like if I don't upload files through Webrepl, the system does not get corrupted.
So I think I stick to your solution for now.
Thanks very much for your support!
by paulc
Mon Dec 18, 2017 7:54 pm
Forum: General Discussion and Questions
Topic: class with subclass
Replies: 5
Views: 921

Re: class with subclass

It actually is the same object indeed:

Code: Select all

hello1 = myclass.Hello1
Hello1.measure(Hello1)
hello1.getv(hello1)
result: 23!
by paulc
Wed Dec 13, 2017 9:13 pm
Forum: General Discussion and Questions
Topic: class with subclass
Replies: 5
Views: 921

Re: class with subclass

Thank you very much for your reply.
I would never have gotten into trouble if my class would have had parameters.;-)
I guess I sort of understand the difference now. 'copy' or 'instance'
by paulc
Mon Dec 11, 2017 3:06 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 47
Views: 24463

Re: Software serial?

I'm not using Arduino. I'm trying to read a sensor, using an esp8266 on MicroPython basis. The sensor only wants to speak rs232.
by paulc
Mon Dec 11, 2017 2:31 pm
Forum: General Discussion and Questions
Topic: class with subclass
Replies: 5
Views: 921

class with subclass

I'm trying to create a simple baseclass with subclasses like in dht.py (ESP8266) The problem is: 'myclass' has a different behaviour than the dht class, and I can't figure out what is causing it. myclass.py: class MyBase: def __init__(self): self.temp = 1 self.printinfo(self) def measure(self): self...
by paulc
Sun Dec 10, 2017 8:05 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 47
Views: 24463

Re: Software serial?

I tried the PVOS softuart contribution, and I got it working. At first it seemed to do it's job very well, but after a while it looks like it's corrupting the system. Even to a degree that a reset won't help anymore. The only possibility that remains, is to re-flash the system. I do not have enough ...