18 lines
243 B
C
18 lines
243 B
C
#include <armv30_std.h>
|
|
#include <stm32f10x.h>
|
|
#include "I2C.h"
|
|
|
|
int main(void)
|
|
{
|
|
I2C1_Init();
|
|
wait_ms(100);
|
|
|
|
while(1)
|
|
{
|
|
startSeq();
|
|
I2C_SendAddress_Write(0x68);
|
|
stopSeq();
|
|
|
|
wait_ms(100);
|
|
}
|
|
} |