jcheger / arduino-frskysp

FrSky SmartPort protocol library for Arduino
48 stars 19 forks source link

Use attiny85 for rpm sensor #8

Open pierrotm777 opened 1 year ago

pierrotm777 commented 1 year ago

Hello, Nice project. Do you think that's would be possible to use an attiny85 for build a rpm sensor? Pierre

jcheger commented 1 year ago

Hi Pierre,

I didn't try on a attiny chip yet. The chip must support a SoftwareSerial library, in inverted mode (FrskySP.cpp, line 131, « true » as 3rd argument). I don't know if SoftwareSerial with inverted parameter is supported on a tiny chip. Another way to invert the signal is to use a standard serial library, and use a MAX232 chip - a bit messy in my opinion.

Jean-Christophe