Go Down

Topic: SoftwareSerial with ATTiny84 using ATtiny library (Read 56980 times) previous topic - next topic


I got the SOftwareSerial.h to work. For some reason it was not in my libraries!. Still want to get the Knock-bang working


This is what i have in the _TinyISP_BuildOptions.h tab when using KnockBang.

Code: [Select]
//Set to 1 if using KnockBang and comment out #include <SoftwareSerial.h> in TinyISP

//Set to 1 if using Serial Relay, and uncomment #include <SoftwareSerial.h> in TinyISP
//Transmit on Arduino is A0

And in the TinyISP tab I comment out #include <SoftwareSerial.h>

Code: [Select]
//#include <SoftwareSerial.h>



It is a straight copy from the example on page 3 of this post

#include <TinyDebugKnockBang.h>

void setup( void )
  Debug.begin( 250000 );

void loop( void )
  Debug.println( F( "Caitlin! " ) );
  delay( 1000 );


I'm not sure what you're asking about and certainly not in the last section.

To get started with Knockbang, here is what I do:

In  _TinyISP_BuildOptions_h i put these lines:

I couldn't figure out all day what I was doing wrong with my tiny24. Then I tried putting those lines in _TinyISP_BuildOptions.h instead of where I had them before. I must have read the instructions wrong.


i've got some problems with the attiny and software serial. I made a little RGB Blutetoth control via smatrphone like seen many times before. Everything works fine with my nano board. Now i wan't to port this to an Attiny85.
But it didn't work. I send via Smartphone Like 255x255x255 and use parseint() in arduino. Like seen in the Documentation.
I used Pin 0,1,4 as Pwm output and 3 for rx. I'm getting no erros while compiling and uploading but the values are not stored right trough serial.parseint. I'm using Low to High tech cores. And also tried this https://code.google.com/p/arduino-tiny/ where i get compiling erros. I've searched and tryed many things but an't get this to work.


having the same problem when i use Attiny85 with BLE to communicate with android app , it shows the value like 0FF FF 00 FF.. . i also used Software Serial library with attiny.
Is there a solution to this problem?

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131