Delay files
Closed this issue · 0 comments
Deleted user commented
The delay functions are imported from libpic30.h
which is a library from Microchip. This works fine, but the point is that FCY
need to be defined before including the library, resulting in including System.h
every time before including libpic30.h
.
So it would be nice if there was a header file called Delay.h
which does this and perhaps contains some more user friendly macros. The current macro for delay milliseconds for example is now __delay_ms()
while it would be nicer to have a macro like Delay_ms()
so Delay.h
could contain such macros and wrap them to the Microchip library.