Skip to content

Instantly share code, notes, and snippets.

@jakabo27
Last active October 2, 2019 17:05
Show Gist options
  • Save jakabo27/580682b99f02284a6cb8c7af0f84cd09 to your computer and use it in GitHub Desktop.
Save jakabo27/580682b99f02284a6cb8c7af0f84cd09 to your computer and use it in GitHub Desktop.
main(){
//Set up inputs and outputs
//Turn on comparators
// Set common comparator Voltages
//Set up each comparator CCH CREF CPOL
while(1)
{
//Write the outputs of the comparators to the output pins
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment