9 years, 7 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:

Port of the FreeModbus Libary for mbed Modbus

1 Answer

9 years, 7 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.

Thank you sir for reply. Ck

posted by chanchal kumari 10 Sep 2014