Go to Post Yeah those design flaws kill you in the end. You especially hate finding out about them in competition. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2007, 14:17
slloyd slloyd is offline
Registered User
AKA: Sonny
FRC #1221 (Nerbotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: CANADA -eh?
Posts: 20
slloyd is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

glad to help

  #2   Spotlight this post!  
Unread 21-01-2007, 15:23
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

another problem now.. in the com1 terminal window.. it doesnt display any of my printfs... which is puzzling...


essentially this is all i want to see:


-------------------------


rot = Get_Analog_Value(rc_ana_in01);
temp = Get_Analog_Value(rc_ana_in02);
pot = Get_Analog_Value(rc_ana_in03);
ac = Get_Analog_Value(rc_ana_in04);


printf("rot: 3%d, temp: 3%d, pot: 3%d, ac: %d/r", rot, temp, pot, ac);
  #3   Spotlight this post!  
Unread 21-01-2007, 15:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: MPLAB 7.20 Help please?

Quote:
Originally Posted by groovy69 View Post
printf("rot: 3%d, temp: 3%d, pot: 3%d, ac: %d/r", rot, temp, pot, ac);
The carriage return character is \r.
  #4   Spotlight this post!  
Unread 21-01-2007, 18:31
groovy69 groovy69 is offline
Registered User
no team
 
Join Date: Jan 2007
Location: toronto
Posts: 7
groovy69 is an unknown quantity at this point
Re: MPLAB 7.20 Help please?

^ omgosh .. bleh what a small and terrible error on my part.. thanks for catching that..
-however, it still does not diplay anything in the com1 terminal window..


maybe this will help:

when i unplug the frc controller from the main power (12V) the com terminal window prints: IFI>
it does this once for every time i unplug, then plug back in, the power to the controller...

hmm??



------ and it seems like everytime i turn around im getting some new error---
any help?





INK 3.94, Linker
Copyright (c) 2005 Microchip Technology Inc.
Error - section '_entry_scn' type is non-overlay and absolute but occurs in more than one input file.
Errors : 1

BUILD FAILED: Sun Jan 21 18:30:34 2007

Last edited by groovy69 : 21-01-2007 at 18:47.
  #5   Spotlight this post!  
Unread 22-01-2007, 02:00
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: MPLAB 7.20 Help please?

http://www.chiefdelphi.com/forums/sh...ad.php?t=51256 This thread has information on the '_entry_scn' error.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with MPLAB burningpig Programming 9 17-01-2007 13:10
Please help; HUGE mplab problem brennerator Programming 5 09-01-2007 01:25
MPLAB IDE HELP Idaman323 Programming 2 16-02-2005 18:01
PLEASE HELP US FIND OUR MOMMY (or MPLAB) superlou Programming 3 23-02-2004 16:33
pic: please help us please mortals CD47-Bot Robot Showcase 5 25-01-2004 11:03


All times are GMT -5. The time now is 23:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi