Hot!__delay_ms(); command wont work with Dspic33

Page: < 12 Showing page 2 of 2
Author
qɥb
Monolothic Member
  • Total Posts : 3300
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: online
Re: __delay_ms(); command wont work with Dspic33 2018/06/13 20:46:32 (permalink)
4 (1)
After
#define FCY 7370000UL

add
#include <libpic30.h>

 
 
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#21
DarioG
Allmächtig.
  • Total Posts : 54080
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re: __delay_ms(); command wont work with Dspic33 2018/06/14 01:42:06 (permalink)
0
Yeah! (though it was "generated code" and hence... should be ok...)

GENOVA :D :D ! GODO
#22
caudill002
New Member
  • Total Posts : 23
  • Reward points : 0
  • Joined: 2017/11/18 13:14:29
  • Location: 0
  • Status: offline
Re: __delay_ms(); command wont work with Dspic33 2018/06/14 08:45:40 (permalink)
3 (1)
DarioG
Yeah! (though it was "generated code" and hence... should be ok...)


LoL: LoL
#23
caudill002
New Member
  • Total Posts : 23
  • Reward points : 0
  • Joined: 2017/11/18 13:14:29
  • Location: 0
  • Status: offline
Re: __delay_ms(); command wont work with Dspic33 2018/06/14 16:32:25 (permalink)
3 (1)
#include <libpic30.h> worked. thanks
#24
qɥb
Monolothic Member
  • Total Posts : 3300
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: online
Re: __delay_ms(); command wont work with Dspic33 2018/06/14 16:43:18 (permalink)
0
Which is exactly what the docs said you needed.
Never assume something else has done it for you. Check.

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#25
Page: < 12 Showing page 2 of 2
Jump to:
© 2018 APG vNext Commercial Version 4.5