You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include <pic.h>
- #include "config.h"
- #include "serial.h"
- #include "dac.h"
-
- __CONFIG(CONFIGWORD);
-
- void main(void) {
- CMCON = 7;
- GIE = 1;
-
- serial_init();
- dac_init();
-
- while(1)
- {
- dac_set(serial_get());
- }
- }
|