Sample code for OneWire in http://www.ti.com/lit/ug/spmu298a/spmu298a.pdf may need corrections: ONEWIRE_INT_BUS_STUCK should be? ONEWIRE_INT_STUCK I think This should simply have a closing Parenthesis? ulData = ((0x01 << 24) | (0x12 << 16) | (0x10 << 8) | 0xcc; Come to think of it ulData isnot defined anywhere uint32_t ? maybe?
↧