Comments (3)
Both Servo and AltSoftSerial use a 16 bit timer. Arduino Uno has only one 16 bit timer, so you can NOT use these 2 libraries together.
This is not a bug.
You simply need better hardware to use both of these library. Teensy 2.0, Teensy++ 2.0 and Arduino Leonardo have 2 of these timers. Arduino Mega has 4 of them. Teensy 3.1 has a total of 12 hardware timers of different types. Mega and Teensy 3.1 also have many hardware serial ports.
You simply must use better hardware than Arduino Uno if you want these functions to work simultaneously.
from altsoftserial.
hello i am using arduino mega 2560 i want to use it in the servo library with alt software but it gives an error thanks for helping me.
from altsoftserial.
@awvare - Ask your question on the Arduino forum, not here.
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.