Skip to content

Instantly share code, notes, and snippets.

@krkeegan
Created January 21, 2014 18:14
Show Gist options
  • Save krkeegan/8545149 to your computer and use it in GitHub Desktop.
Save krkeegan/8545149 to your computer and use it in GitHub Desktop.
Brad's DS2048 Code
sub write_iButton_io {
my $io_state = $Save{Preset_Relay_Setting}; #From TK input the correct arrangement of relays XX.
my $io_device = write_reg_2408 $ib_io1 hex($io_state);
print_log "Write Reg is $io_device, state is $io_state\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment