Skip to content
Snippets Groups Projects
Commit c94fc1db authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

i2cbencH: show device ID

parent 5949cef9
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,15 @@ int main(void)
kout << "I2C setup OK" << endl;
#ifdef MULTIPASS_ARCH_msp430fr5969lp
kout << "Device ID " << hex;
kout << *(uint8_t*)0x1a0a << *(uint8_t*)0x1a0b;
kout << *(uint8_t*)0x1a0c << *(uint8_t*)0x1a0d;
kout << *(uint8_t*)0x1a0e << *(uint8_t*)0x1a0f;
kout << *(uint8_t*)0x1a10 << *(uint8_t*)0x1a11;
kout << endl;
#endif
arch.idle_loop();
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment