Comments (1)
The answer is: it depends.
First, this isn't possible unless you modify the AltSoftSerial code. AltSoftSerial simply doesn't offer this feature. But it is open source, so if you have the time and skill to edit the code, perhaps you can do it. Maybe you'll even share for others who might want it?
This message is the one and only thing I will do to help. If you really want this, you have dig into the code and do it yourself.
Second, this can only work on chips where the timer has at least 3 compare channels. ATMEGA328P (used on Arduino Uno & Nano) have only 2 compare registers. One is used for the output signal and another is used for a timeout, so you must have at least a 3rd compare to generate another signal.
The basic idea would be to configure the 3rd compare channel to generate an output signal. If the hardware supports opposite polarity (depends on which chip you use), then the code might be as simple as merely writing the same data to the 3rd compare register. Maybe? There could be other details. It really depends on the timer compare unit details for whatever chip you're using.
from altsoftserial.
Related Issues (20)
- Arduino Robot HOT 5
- Problems with Arduino Nano HOT 1
- Bump version number
- Replacing Softwareserial by Altsoftserial HOT 1
- Lost answers UART HOT 4
- Elimininate 'unused parameter' warnings HOT 5
- Conflict with Servo: Multiple definitions HOT 6
- RX Buffer max size is 500byte? HOT 5
- The last two bytes reappear after flushing
- incompatible with nrf52 architecture Adafruit Feather nRF52 Bluefruit LE - nRF52832 HOT 1
- Support Arduino Nano Every HOT 3
- Support for Teensy 4.0 HOT 2
- Implement Inverse flag to invert sense of RX and TX like SoftwareSerial HOT 2
- Couldnt transmit correct data using AltSoftSerial HOT 3
- Support Request for Arduino Portenta HOT 1
- Can we use it on NodeMCU? HOT 1
- Add Support for ATMEGA328PB Please HOT 2
- Add Support for STM32F1, STM32F4, please
- Support for .findMulti();
- Add support for renesas_uno architecture HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altsoftserial.