Device configuration

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

Re: Device configuration

Postby Dimebag » Mon Jul 28, 2014 2:55 pm

I have been reading them, but macro __delay_ms() I was not subjected to. Also telling a beginner to C complier for mplabx in macro style is a little different kettle of fish. You can not think everyone is as experienced as professionals in their field of studies.
Dimebag
 
Posts: 109
Joined: Sun Jun 29, 2014 7:51 am
Location: Sydney, Australia

Re: Device configuration

Postby ric » Mon Jul 28, 2014 2:59 pm

No-one expects you to be an expert, but you have continually been ignoring most of the advice given here!
Just look how many times I asked you to remove the
#define __delay_ms();
line from your code.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Device configuration

Postby Dimebag » Mon Jul 28, 2014 3:03 pm

If you read the codes that I have already provided. Can you see that I tried to do as asked? The idea was to make a blinking LED code, correct?
Dimebag
 
Posts: 109
Joined: Sun Jun 29, 2014 7:51 am
Location: Sydney, Australia

Re: Device configuration

Postby Dimebag » Mon Jul 28, 2014 3:06 pm

PM me Rick, please. I will screen_print it all to you.
Dimebag
 
Posts: 109
Joined: Sun Jun 29, 2014 7:51 am
Location: Sydney, Australia

Re: Device configuration

Postby Dimebag » Mon Jul 28, 2014 3:20 pm

I admit ErrorLevel in assembly code worked to a degree. Its not so in C.
Dimebag
 
Posts: 109
Joined: Sun Jun 29, 2014 7:51 am
Location: Sydney, Australia

Re: Device configuration

Postby Dimebag » Mon Jul 28, 2014 3:37 pm

if the innermost count variable isn't declared "volatile".
New search of answers again. Thanks Rick, I will try harder.
Dimebag
 
Posts: 109
Joined: Sun Jun 29, 2014 7:51 am
Location: Sydney, Australia

Re: Device configuration

Postby user2009 » Mon Jul 28, 2014 3:53 pm

You are tackling the problem from the wrong side again. Get a tutorial/book/datasheet/etc and use it in parallel in order to get a better understanding of what you are doing (your learning curve will be a lot steeper).
user2009
 
Posts: 13
Joined: Tue Jul 01, 2014 11:48 am
PIC experience: Professional 2-5 years with MCHP products

Re: Device configuration

Postby Tom Maier » Mon Jul 28, 2014 8:46 pm

Dimebag is playing with you, to see how far up the ladder you will chase him.

Are we having fun yet?
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

Re: Device configuration

Postby ric » Mon Jul 28, 2014 9:21 pm

Dimebag wrote:If you read the codes that I have already provided. Can you see that I tried to do as asked? The idea was to make a blinking LED code, correct?

You are wasting my time.
I just gave you the complete code to do exactly what you wanted.
You refuse to acknowledge that you did NOT make the changes I asked you to numerous times.
I find it hard to believe, but Tom must be right, you're just making a game out of this. I'm not playing any more.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: Device configuration

Postby Tom Maier » Mon Jul 28, 2014 9:50 pm

It's a game called schlemiel. When my students in college would play that I would take them out in the hall and tell them if they didn't pull their heads out, I was going to flunk them and the school would keep their money. It's a fast cure and usually works.

Normally only freshman play that game because it comes from highschool. The higher classes have either learned to stop playing or they are working at McDonald's.
User avatar
Tom Maier
Verified identity
 
Posts: 179
Joined: Mon May 26, 2014 2:37 pm
PIC experience: Professional 5+ years with MCHP products

PreviousNext

Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 17 guests

cron