-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
json config file, frontend update/cleanup
- Loading branch information
John Lifsey
committed
Dec 20, 2015
1 parent
4eedfcd
commit 026a705
Showing
39 changed files
with
274 additions
and
123 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
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/perl | ||
use CarBus; | ||
use IO::Termios; | ||
use Data::Dumper; | ||
|
||
#$Data::ParseBinary::print_debug_info = 1; | ||
use IO::File; | ||
|
||
#my $sfh = new IO::File("tty.raw"); | ||
my $sfh = new IO::File("ttysync.raw"); | ||
#my $sfh = IO::Termios->open("/dev/ttyUSB0","38400,8,n,1"); | ||
|
||
my $carbus = new CarBus($sfh); | ||
|
||
while(1) { | ||
my $frame = $carbus->get_frame(); | ||
print Dumper($frame); | ||
exit if $frame->{error}; | ||
} | ||
|
Empty file.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.