Skip to main content
The 2024 Developer Survey results are live! See the results
2 votes
Accepted

Sam C21 Xplained Pro - Linux toolchain

The SAM chips have ARM cores, so you should look compiliing with arm-none-eabi-gcc and flashing/debugging with openocd instead. ...
jrsa's user avatar
  • 36
2 votes
Accepted

Picking up a cheap timer

Choosing a different controller is really unnecessary. Its absolutely common to implement long delays with 16 bit timers. The only thing you need to to is using a simple additional counter variable (...
Rev's user avatar
  • 161
1 vote

How to convert this arduino code snippet to AVR GCC?

Firstly, the Arduino IDE already uses the AVR GCC compiler. Put another way, all of your Arduino (.ino) code gets transformed into a C++ (ie .cpp) file and then gets compiled with AVR GCC. The ...
sa_leinad's user avatar
  • 207
1 vote
Accepted

How to convert this arduino code snippet to AVR GCC?

I never worked with Arduino, but there is a lot going on behind the scenes in the Arduino Serial class. The examples below should get you started, its not supposed to be compilable or functional as a ...
Rev's user avatar
  • 161
1 vote

CC3D PWM control signal characteristic (to be simulated by Raspberry PI)

Ok I actually was able to make it work. First of all in the beginning of the testing I used my own program which generated PWM signals. I wanted to make them 50Hz with 1.5ms of duty cycle being ...
MrOneTwo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible