0 оценок0% нашли этот документ полезным (0 голосов)
21 просмотров1 страница
This document contains a list of 3 student names and code for initializing and reading an analog to digital converter (ADC) in C. The code initializes the ADC module and sets all pins to analog input. It also defines a function to read from a given channel that waits for conversion to complete and returns the result.
This document contains a list of 3 student names and code for initializing and reading an analog to digital converter (ADC) in C. The code initializes the ADC module and sets all pins to analog input. It also defines a function to read from a given channel that waits for conversion to complete and returns the result.
This document contains a list of 3 student names and code for initializing and reading an analog to digital converter (ADC) in C. The code initializes the ADC module and sets all pins to analog input. It also defines a function to read from a given channel that waits for conversion to complete and returns the result.
- Caceres Medina, Cristofher - Paredes Merino, David Benjamin
adc.c #include <htc.h> #include "adc.h"
void adc_init() { ADCON0 = 0x41; //ADC Module Turned ON and Clock is selected ADCON1 = 0xC0; //All pins as Analog Input //With reference voltages VDD and VSS }
Hacking: A Beginners Guide To Your First Computer Hack; Learn To Crack A Wireless Network, Basic Security Penetration Made Easy and Step By Step Kali Linux
Evaluation of Some Websites that Offer Virtual Phone Numbers for SMS Reception and Websites to Obtain Virtual Debit/Credit Cards for Online Accounts Verifications
Palo Alto Networks: The Ultimate Guide To Quickly Pass All The Exams And Getting Certified. Real Practice Test With Detailed Screenshots, Answers And Explanations
Cybersecurity: A Simple Beginner’s Guide to Cybersecurity, Computer Networks and Protecting Oneself from Hacking in the Form of Phishing, Malware, Ransomware, and Social Engineering
Computer Networking: The Complete Beginner's Guide to Learning the Basics of Network Security, Computer Architecture, Wireless Technology and Communications Systems (Including Cisco, CCENT, and CCNA)