angeloc/simplemodbusng

Attiny85 as slave

Closed this issue · 4 comments

Hi

I want use 50 attiny's as slave for a school project, but an attiny only has 2 digital outputs, which you use for the softwareserial, but you also need a 3th output for your max485?
image

how have you done this?

Regards
Floris

Hi Florvis,

The exapmle schetck you can find on the project page should work as is.
Please try it! If not, you can run SoftwareSerial on pin 3,4 (you have to
modifiy SimpleModbusSlaveSoftwareSerial.cpp) and use pin 0 as direction.

Please give it a try (without and with fixing) and eventually file a bug!

Thank you!

2014-02-17 15:35 GMT+01:00 Florvis notifications@github.com:

Hi

I want use 50 attiny's as slave for a school project, but an attiny only
has 2 digital outputs, which you use for the softwareserial, but you also
need a 3th output for your max485?
[image: image]https://f.cloud.github.com/assets/6705665/2186082/62d3c8da-97e0-11e3-9826-80e360c333e5.png

how have you done this?

Regards
Floris

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Profile: http://it.linkedin.com/in/compagnucciangelo

Ok, thaks for the information.
I have found my problem.

Can you share your problem with us?

2014-02-28 15:21 GMT+01:00 Florvis notifications@github.com:

Closed #3 #3.

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Profile: http://it.linkedin.com/in/compagnucciangelo

I did not know I could use the adc pins as outoup pins, but now I know it is possible.