Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
671 views

Is it possible to use assembly with arduino?

I want to learn assembly, but would like to learn by doing, is it possible to learn and make something useful with arduino hardware? I dont know where or how to start something like this.
Bruno Barros's user avatar
1 vote
1 answer
1k views

Blinking a led using assembly language at different frequencies using two push buttons

I want to blink a led using assembly language and arduino I want the circuit to have a normal state of 5 hz blinking frequency Then use two push buttons to increase or decrease the blinking frequency ...
Abbas Mohammed's user avatar
0 votes
1 answer
142 views

Parallel I/O - maybe use Machine code function call

I'm a newbie to arduino but been programming lots. I have a project where I would like to output 4 bits to adjacent pins and read 4 bits from another (4) adjacent pins. (Imagine a matrix keyboard ...
Dave's user avatar
  • 11
0 votes
1 answer
327 views

LED Blink in assembly with timer1 output compare interrupt not working

I was trying to have some fun with avr-assembly on my arduino and I tried the following codes to blink my LED first I tried the ISR approach and when It didn't work I tried the CTC mode one, both ...
Mahmoud Salah's user avatar
1 vote
1 answer
885 views

How to add two assembly arrays in arduino

Hey guys what I'm trying to do is to sum two arrays and return a new array; for example if given uint8_t a[] = {2, 4, 6}; uint8_t b[] = {1, 2, 3}; I should get { 3, 6, 9} What I'm trying to do is ...
John Rawls's user avatar
0 votes
0 answers
284 views

how do i convert to assembly code (AVR assembly) from arduino

i have code in the Arduino ide for a temperature sensor that shows the temperature on three 7 segment displays, it shows the temperature to one decimal point. using an arduino uno. I am struggling to ...
dirshan ramlall's user avatar
2 votes
1 answer
2k views

How do I convert this program to assembly from c++

I am trying to implement a program in assembly code for an Arduino UNO. A potentiometer is used on an ADC pin for variable time (t). LED1 flashes for t seconds, then stays on for t seconds, then goes ...
user58745's user avatar
1 vote
0 answers
63 views

My alterate flashing LED program is not working

I am trying to program my Arduino UNO ATMega 328p in assembler to implement a flashing pattern with two LEDs. When one LED is off, the other must be on. I have made a program but it is showing errors ...
user58745's user avatar
0 votes
4 answers
5k views

I need help programming my arduino in assembly [closed]

I am new to using an Arduino and I am trying to program my it to implement a flashing pattern with two LEDs. When one LED is off, the other must be on. The program needs to be done in assembly. I have a ...
user58745's user avatar
0 votes
1 answer
2k views

Arduino button-controlled LED with AVR Assembly

I am trying to make a simple button-controlled LED, but I cannot seem to get any input from the button that would change the state of the LED. In other words, the program keeps branching to lighton, ...
Bgeo25's user avatar
  • 11
11 votes
10 answers
22k views

Different ways (and the fastest) to compute sines (and cosines) in Arduino

I am using an Arduino Uno board to compute the angles of my system (robotic arm). The angles are actually 10 bit values (0 to 1023) from the ADC, using the full range of the ADC. I am only going to be ...
Transistor Overlord's user avatar
1 vote
1 answer
3k views

Controlling buzzer with assembly

I want to make a piezo buffer beeping with assembly code, but i haven't managed to yet. I have an Arduino UNO board (ATMega328p) and using avra and avrdude to build and load. The buzzer just stay ...
Frazzo's user avatar
  • 125
1 vote
2 answers
2k views

Arduino PWM fading led in assembly

I'm writing Arduino UNO (=ATMega328P-PU) programs in assembly to save memory, so I use avra.exe (same as atmel studio's avrasm32) to compile and avrdude to upload, and simple programs like blinking ...
Frazzo's user avatar
  • 125
1 vote
1 answer
469 views

Working on a reaction test for the Arduino Uno using an led and an lcd shield

The situation involves some Asm inline practice and a basic circuit. The program turns an LED on after a somewhat random period of time then waits until the button is pressed to report back how many ...
Sam Kemp's user avatar
1 vote
2 answers
14k views

Make LED blink using AVR assembly

I have an ATmega328P Arduino and am trying to make the LED blink using assembly without any additional includes. The goal is to have it blink for 1 second on, then 1 second off, however, it blinks ...
Josue Espinosa's user avatar

15 30 50 per page