Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
I²C (Inter-Integrated Circuit) is a multi-drop serial bus invented by Philips (now NXP) for communication between ICs on the same PCB, i.e. short distance.
4
votes
1
answer
3k
views
i2c undefined symbols on compile MPLab XC8
I am trying to compile a simple I2C program for a PIC18F45K22 using MPLab XC8 compiler. … = 0); // Wait for ACK from slave
// Close I2C
CloseI2C1();
printf("%c",I2C_Recv);
}
return; // just for C syntax best practice. …
4
votes
i2c undefined symbols on compile MPLab XC8
Found the solution. That was that the linker options were not set to link in the peripheral library.
Project properties > XC8 Linker > Options pane, Runtime selection > 'Link in Peripheral Libra …