Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 2 months ago.
system library ?
hi,
I import a program from http://mbed.org/users/cam/programs/Modbus/5zdqv but the problem is.. what i write in system include if i use lpc1768. please tell me changes in program if i use lpc1768.
Thank you
Question relating to:
1 Answer
10 years, 2 months ago.
Put #include "mbed.h" in the first line. The online compiler is looking for the actual cpu type. If you switch between different platforms you have to look for the different pin numbering.
There are also some hardware specific differences, but most mbed libs are portable. Ethernet, USB and the use of DMA are difficult to implement platform independend.