-
Datei
LTC1290.h
########################################################################## AVR Ansteuerung eines LTC1290 mit Atmega32 */ #define LTC1290_Port_DDR DDRD //Port an dem der LTC1290 angeschlossen wird #define LTC1290_Port_Write PORTD #define LTC1290_Port_Read PIND #define LTC1290_SCLK PIND3 //Pin für DTR
in „Problem mit LTC1290“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ltc1290_all_in_one.c
> #include <util/delay.h> #include "ltc1290.h" int main(void) { int16_t ergebnis, dummy_read; init_ltc1290(); // Example taken from ltc1290 datasheet: // (Example: Differential Inputs (CH3-CH2), Bipolar, MSB-First and 12-Bit Word Length) dummy_read = ltc1290_read(LTC_ODD|LTC_SEL0|LTC_MSBF|LTC_WL1); ergebnis = ltc1290_read(LTC_ODD|LTC_SEL0|LTC_MSBF|LTC_WL1); for(;;){ } return 0; }
in „Problem mit LTC1290“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
fonts #include "bmp.h" // definitions for the bitmaps/icons #include <avr/interrupt.h> //#include "LTC1290.h" #include "ltc1290_2.h" volatile uint8_t sek,min,stu,flag; char* utoa (int zahl, char *string, int radix ); char text[4]; char* utoa (int zahl, char *string, int radix ); uint8_t zahl = 127; uint16
in „Problem mit LTC1290“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ltc1290_2.h
/********** ltc1290.h *********/ #define LTC_PORT PORTD #define LTC_PIN PIND #define LTC_DDR DDRD #define D_IN PD4 #define D_OUT PD5 #define SCLK PD3 #define CS PD6 #define F_ACLK 3686400 //ACLK in Hertz, "~L" bei mehr
in „Problem mit LTC1290“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
fonts #include "bmp.h" // definitions for the bitmaps/icons #include <avr/interrupt.h> //#include "LTC1290.h" #include "ltc1290_2.h" #define DELAY 20 /* hundrets of milliseconds (20 -> 2s) */ void wait(uint16_t); char* itoa (int zahl, char *string, int radix ); char text[4]; char* itoa (int zahl, char
in „Problem mit LTC1290“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
LTC1290brd.pdf
29.06.2006 17:56:41 f=2.00 C:\Programme\Eagle416\projects\LCDContr\LCDContr.brd
in „A/D-Wandler LTC1290 an Motorola µC HC12“ · Mikrocontroller und Digitale Elektronik ·