Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added some fake headers and symbols for compilation of firmware wit…
…h unit tests - ignore clion ide files - removed ServoTimer2 library
- Loading branch information
Showing
20 changed files
with
449 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1,2 @@ | |||
.DS_Store | .DS_Store | ||
Software/Firmware/.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,21 +1,25 @@ | |||
#ifndef LASERDRIVER_H | #ifndef LASERDRIVER_H | ||
#define LASERDRIVER_H | #define LASERDRIVER_H | ||
#if ARDUINO >= 100 | |||
#include "Arduino.h" | |||
#else | |||
#include "WProgram.h" | |||
#endif | |||
|
|
||
#include <Arduino.h> | |||
|
|||
#include "configuration.h" | |||
|
|
||
extern uint8_t exposing_done; | extern uint8_t exposing_done; | ||
|
|
||
typedef union { | |||
uint32_t positions[LASER_POSITIONS_BUFFER_SIZE]; | |||
uint16_t laser_timings[LASER_POSITIONS_BUFFER_SIZE]; | |||
} laser_buffer_type; | |||
|
|||
void init_laser_driver(); | void init_laser_driver(); | ||
void laser_on(); | void laser_on(); | ||
void laser_off(); | void laser_off(); | ||
void expose_line(int time); | void expose_line(int time); | ||
void set_exposing_cycles(uint8_t cycles); | void set_exposing_cycles(uint8_t cycles); | ||
void fill_laser_buffer(long distance); | void fill_laser_buffer(long distance); | ||
void create_test_pattern(); | void create_test_pattern(); | ||
void convert_positions_to_timings(); | |||
|
|
||
#endif | #endif | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
Software/Firmware/OpenExposer/OpenExposer.ino
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.