Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switching to TTL pin from TTL- pin on controller #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions teensy/laser_worker/laser_worker.ino
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#define LASER_PIN 0
// 5v from laser power supply
#define LASER_POWER_PIN 1
// laser pin is active low
#define LASER_PIN_FIRING 0
// laser pin is active high (Light Object T9+ controller TTL pin, not TTL- pin)
#define LASER_PIN_FIRING HIGH
// power pin is active high
#define LASER_PIN_PWR_ON 1
#define LASER_PIN_PWR_ON HIGH

// Relay to enable or disable the laser
#define ENABLE_PIN 10
Expand Down Expand Up @@ -135,7 +135,7 @@ void loop()
case 'x':
if (serialByte == '\n')
{
time_total = 1000;
time_total = 1; // Seconds
write_odo();
serialCommand = 0;
}
Expand Down