Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TinyDebugSerial #76

Closed
JohnOH opened this issue Aug 10, 2015 · 5 comments
Closed

TinyDebugSerial #76

JohnOH opened this issue Aug 10, 2015 · 5 comments

Comments

@JohnOH
Copy link

JohnOH commented Aug 10, 2015

Hi @damellis. I hope this isn't duplicating but I noticed the original thread has closed.

Is the TinyDebugSerial code present in earlier versions of the Tiny Core still present in your version. It appears to be missing and the jeelib repository requires it.

@damellis
Copy link
Owner

damellis commented Sep 8, 2015

This core doesn't include TinyDebugSerial because the standard SoftwareSerial library works with it (although I realize it may be bigger or otherwise unsuitable for certain applications). I'm closing this because I'm not planning to include it. Ideally, it would be available as a library that could be used with a variety of cores.

@damellis damellis closed this as completed Sep 8, 2015
@NicoHood
Copy link

I had a user in the IRC chat that complained about an issue with softserial. He was forced to use it ad baud 9600 which causes long ISRs. This then freezez the code too long and it crashes. I do not know of what softserial consists, but I guess it uses the usart like device that can at least add a bit automation to the usart interface.

A 2nd Library doesnt hurt, especially if its only used for the Attiny core, so why not ship this with the Attiny?

@madmalkav
Copy link

Hi, I think NicoHood is refering to me. After some testing I have come to the conclusion that the problem of the serial not working is caused by the IR Remote library, I'm moving to IRLRemote. Thanks for your help guys.

@NicoHood
Copy link

That might be a good idea ;) Also consider to use the PinChangeInterrupt with your Attiny ;)
But I think this still does not solve the main reason why your problem occured:
The Softserials ISRs take too long and this causes problems with the IRremote Interrupts. Using my library avoids this problem maybe, but the TinySerial would be still a better idea maybe. If you used AltSoftSerial both libraries could have used the same timers for interrupts.

@madmalkav
Copy link

AFAIK AltSoftSerial isn't supported on attiny
El 17/09/2015 08:55, "Nico" notifications@github.com escribió:

That might be a good idea ;) Also consider to use the PinChangeInterrupt
with your Attiny ;)
But I think this still does not solve the main reason why your problem
occured:
The Softserials ISRs take too long and this causes problems with the
IRremote Interrupts. Using my library avoids this problem maybe, but the
TinySerial would be still a better idea maybe. If you used AltSoftSerial
both libraries could have used the same timers for interrupts.


Reply to this email directly or view it on GitHub
#76 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants