Chaitanya Viswa
/
_i2c_master
kjkjkjkjk
Fork of i2c_master by
main.cpp@2:c1387cf55c7d, 2014-07-17 (annotated)
- Committer:
- viswachaitanya
- Date:
- Thu Jul 17 11:23:58 2014 +0000
- Revision:
- 2:c1387cf55c7d
- Parent:
- 1:14b369c0f314
i2c master test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
greenroshks | 1:14b369c0f314 | 1 | #include "master.h" |
greenroshks | 1:14b369c0f314 | 2 | |
greenroshks | 1:14b369c0f314 | 3 | int main() |
greenroshks | 1:14b369c0f314 | 4 | { |
viswachaitanya | 2:c1387cf55c7d | 5 | |
greenroshks | 1:14b369c0f314 | 6 | while(true) |
greenroshks | 1:14b369c0f314 | 7 | { |
viswachaitanya | 2:c1387cf55c7d | 8 | wait(0.5); |
greenroshks | 1:14b369c0f314 | 9 | FUNC_I2C_MASTER_MAIN(1,0x20,24); |
viswachaitanya | 2:c1387cf55c7d | 10 | wait(5); |
greenroshks | 1:14b369c0f314 | 11 | } |
greenroshks | 1:14b369c0f314 | 12 | } |