OSDN Git Service

AD7999によるボリューム読み取りのAPIを実装した
[uzume/uzume_bfin.git] / uzume_prototype / uzume_prototype.c
1
2 #include <t_services.h>
3 #include "kernel_id.h"
4 #include "uzume_prototype.h"
5 #include <i2c_subsystem.h>
6
7 #define ADCADDR 0x28
8
9
10 /*
11  *  メインタスク
12  */
13 void main_task(VP_INT exinf)
14 {
15     syslog(LOG_NOTICE, "Prototype started ");
16
17     while(1)
18     {
19         tslp_tsk(200);
20     }
21 }
22