green rosh
/
i2c_slave_chaitanya
third commit
Fork of i2c_slave by
main.cpp@2:8675945f108a, 2014-07-01 (annotated)
- Committer:
- greenroshks
- Date:
- Tue Jul 01 07:28:46 2014 +0000
- Revision:
- 2:8675945f108a
- Parent:
- 1:37d4026fa600
third commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
greenroshks | 1:37d4026fa600 | 1 | #include "slave.h" |
greenroshks | 1:37d4026fa600 | 2 | |
greenroshks | 1:37d4026fa600 | 3 | int main() |
greenroshks | 1:37d4026fa600 | 4 | { |
greenroshks | 1:37d4026fa600 | 5 | while(1) |
greenroshks | 1:37d4026fa600 | 6 | { |
greenroshks | 1:37d4026fa600 | 7 | FUNC_I2C_SLAVE_MAIN(); |
greenroshks | 1:37d4026fa600 | 8 | wait(20); |
greenroshks | 2:8675945f108a | 9 | printf("\nHello"); |
greenroshks | 1:37d4026fa600 | 10 | } |
greenroshks | 1:37d4026fa600 | 11 | } |