Thanks guys! I currently just wrote a new code changing the printf to print to the serial port, now i am working on a scan function. I think it is in the Macros where these are being defined with...
Type: Posts; User: tzzr101
Thanks guys! I currently just wrote a new code changing the printf to print to the serial port, now i am working on a scan function. I think it is in the Macros where these are being defined with...
Wondering why I cannot communicate with my microcontroller dspic33 with the Hyperterminal program. In the sample test code, I also cannot use printf. They have it set up differently and I am...
Thanks for the harrassment. I am an intern, forced to do programming and have no skills in doing so. I don't know why, but I'm not the boss I do what I'm told. They don't help me either it's...
No i do not. I am very new to programming. I'll check it out thanks!
I did, its above. Thats literally the code and im trying to call the function F_C.
Ok I have a statement like this in a header file
#if (F_A && F_B)
unsigned char secondary (unsigned char type);
#define F_C
#define F_D
#endif
I am trying to call for F_C and it says its...
They are made up functions in a sample file like the sample code i posted above. I believe I figured it out, now just to set them = to "True" will depend on whether 1 or 0 is true.
Hey thank you very much! So i should call something like:
user_has_access=1;
door_is_working=1;
Then my open_door(5seconds or something) function should work? If 1 is predefines as true?
OK.
F_funtionA, F_FunctionB are the functions lets say.
#if (F_funtionA && F_functionB)
unsigned char main(unsigned char variable);
#define F_FunctionC
#endif
and if I want to use the...
Hi as the title states I have an issue understanding what this calls for?
#if One Function && another Function
Does this mean if I call both functions it will begin the if statement?
There...
I am not asking about the code. I am simply asking what the stack size is meaning. Thank you dmh2000, this code is just to give you an idea of why I needed to know stack size. That is just some piece...
Hi I am recently new to programming, just a quick question on what exactly stack size is? Is that how many bits will be used if it is held in a queve? or is it the order it should be done? I am using...
Ok thanks you, I have located only one of the four. So the sample code has f_initvolume but not the other three. This is the problem, I am going to look in the files that are not included as of now.
Ok so reformatted the card and everything and still getting an error! So now I know that it isn't able to read the file off the card so maybe some suggestions on naming? content? anything at all I'm...
Yes that is one of the header files I am using. So I fixed all of the code errors. But still get the Hyperterminal message cannot open csk_temp.txt. So my assumption is that there is either a format...
Yes I have all the header files it is all one big sample project. I think I need to just change the f_open to fopen. I'll play around with it a little more to see if I can get it to run as suppossed...
I honestly cannot find anything on f_open, f_ anything.
Only fopen, with no underscore.
OK jimblumberg not quite sure how to do that.
and Tim thank you very much! that answered both of my questions. The SD card was just bought at the store its a LExar media 256MB highspeed. So I will...
I understand what your saying Salem. Problem is Im doing all my work on a desktop that doesn't have a SD card reader. So I am using a laptop to do the SD card things and then plugging it into the...
Ok here is the current sample code I am using
#include "main.h"
#include "events.h"
#include "init.h"
#include "task_sd_measure.h"
// Pumpkin CubeSat Kit headers
#include "csk_rand.h"
Ah I see a lot of hate. I understand your frusterated with young programmers. I just need the help from older ones because I am only a second year and haven't taken a lick of programming. They wanted...
OK thank you "Click here." How would that code look however? I am assuming I am not using the correct configuration as it is probably set to default. So I guess my question is can you give me a...
No I do not have any background in this at all. It's called an "experience task" so I am getting the experience, I just wanted to better understand.
OK thank you guys! I will try that forum, and yes I have both of those manuals. So it does have to do with some pin connections, I firgured it wouldn't be all that simple. OK well thank you very much!
Its a pumpkin CUBESat development board. I cannot find any of these kinds of files, how would I get text to be printed in hyperterminal in the first place? Like does printf automatically print out in...