The algorithm tag has no usage guidance.
8
votes
5answers
2k views
Efficient algorithm/data structure to calculate moving averages
Currently I am developing a graphic LCD system to display temperatures, flows, voltages, power and energy in a heat pump system. The use of a graphic LCD means that half of my SRAM and ~75% of my ...
2
votes
1answer
86 views
How to detect if more than one button was pressed
I am designing a turn signal bicycle blinker using two pushbuttons as input, one for each side, with a corresponding light for each button.
The idea is this:
Pressing one side makes same side start ...
2
votes
2answers
506 views
Exoskeleton Motor Control Code
Background:
I have been working on an exoskeleton project with a group of friends, and I need help. I made another post on the robotics.stackexchange site for the drive system: ...
0
votes
2answers
219 views
Using I2C: Master Reader and Writer
I'm using I2C and the Arduino Library (Wire) to communicate between two Ardunios, and my code isn't working. It's supposed read in an int from the slave, write a value to the slave, then read back ...