summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukáš Jiřiště [Tue, 5 Nov 2024 09:11:23 +0000 (10:11 +0100)]
Remove Makefile rules for .upload
The .upload file is not doing much as it needs to be done every time the
compilation is done. And with the addition of another project, it does
not reflect, whether the arduino actually has the program uploaded.
Lukáš Jiřiště [Tue, 5 Nov 2024 09:01:58 +0000 (10:01 +0100)]
Add servotest subproject
This small project aims to get the precise values for PWM of servos.
A potentiometer is used to control the servo signal through the arduino,
and the arduino reports the microseconds value to the serial output.
Lukáš Jiřiště [Mon, 4 Nov 2024 14:16:37 +0000 (15:16 +0100)]
Make the PressureSensor more flexible
Add some parameter to PressureSensor to make using other sensors easier.
Lukáš Jiřiště [Mon, 4 Nov 2024 11:21:37 +0000 (12:21 +0100)]
Add svg file with the schematics
This is not directly connected to the function of the code, but it is
useful for my colleagues, who will use this repo.
Lukáš Jiřiště [Wed, 23 Oct 2024 09:13:40 +0000 (11:13 +0200)]
Change Makefile to better track what to do
Normally the object files and executable are used for tracking but
arduino-cli does not generate any files inside the working directory.
The changes use dotfiles .compile and .upload to keep track of what
needs to be done.
In addition to the dotfiles compile and upload rules were added, that
force the action.
Lukáš Jiřiště [Wed, 23 Oct 2024 08:53:24 +0000 (10:53 +0200)]
Switch from double to float
Float has 24bit significant so it has plenty of precision for the 10bit
AD conversion and should take less space.
Lukáš Jiřiště [Wed, 23 Oct 2024 08:43:22 +0000 (10:43 +0200)]
Implement PressureSensor class and use it in main
Lukáš Jiřiště [Wed, 23 Oct 2024 08:41:47 +0000 (10:41 +0200)]
Fix Makefile dependencies
Lukáš Jiřiště [Tue, 22 Oct 2024 08:28:33 +0000 (10:28 +0200)]
Add a small test program for the UNO
This program makes a LED (pin 4) switch state whenever pin 7 is
connected to ground (through button).
Lukáš Jiřiště [Tue, 22 Oct 2024 08:27:16 +0000 (10:27 +0200)]
Add Makefile for building and uploading to UNO
The Makefile uses arduino-cli.