code - ADCSampleCode AlyElOsery NewMexicoTech...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
©  2006 Aly I. El-Osery Micaz Hardware Overview and  ADC Sample Code Aly El-Osery Electrical Engineering Department New Mexico Tech Socorro, NM 87801
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
©  2006 Aly I. El-Osery Overview Brief overview of Atmega 128L Important files Digital I/O ADC sample code
Background image of page 2
©  2006 Aly I. El-Osery Atmega128L Low-Power AVR 8-bit Microcontroller 128K Bytes of In-System Reprogrammable Flash Two 8-bit Timer/Counters Two 16-bit Timer/Counters 8-channel, 10-bit ADC
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
©  2006 Aly I. El-Osery Micaz 51 pin I/O connector. 8-channel 10 bit ADC 0-3V input. Timers 0,1, and 2 are used for the general purpose  timer and for the radio. General Purpose I/O, some are tide to specific  functions so use with care. PW0-PW7 are available general purpose I/O.
Background image of page 4
©  2006 Aly I. El-Osery iom128.h tinyos-1.x/local/avr/include/avr/iom128.h
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
©  2006 Aly I. El-Osery avrhardware.h #define TOSH_ASSIGN_PIN(name, port, bit) \ static inline void TOSH_SET_##name##_PIN() {sbi(PORT##port , bit);} \
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

code - ADCSampleCode AlyElOsery NewMexicoTech...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online