Search:

Type: Posts; User: begginer

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,302

    the g_Flag_Change from read, i have it defined as...

    the g_Flag_Change from read, i have it defined as BOOL G_Flag_Change_From Read=0; before main to make it global ofcourse, and then inside i gpio interrupt i have it set to one, so when teh encoder...
  2. Replies
    15
    Views
    3,302

    would the flag condition ever need to be reset to...

    would the flag condition ever need to be reset to zero?
  3. Replies
    15
    Views
    3,302

    what are the conditions for leave_function_now,...

    what are the conditions for leave_function_now, and exit_loop_early
    are they pre defined in c somewhere or they going to be my own functions i have to make
  4. Replies
    15
    Views
    3,302

    so i think i may have found a better way to break...

    so i think i may have found a better way to break out of the for loop, i use a gpio interrupt which basically just reads the port, and if it senses a change in state, it interrupts and sets my flag...
  5. Replies
    15
    Views
    3,302

    need help with go to statment

    so i know that "go to" are not the best for object oriented programing but this is going to solve all my issues, if i can ever get it working

    so first i need to say that i am programming this...
  6. Replies
    13
    Views
    9,216

    i hate to go on a tangent about this, but here is...

    i hate to go on a tangent about this, but here is what i am thinking, both of your points make tremendous sense but here is some of my code and though process...please let me know if i am on the...
  7. Replies
    13
    Views
    9,216

    NO ASSEMBLY FOR THIS GUY i took a class that...

    NO ASSEMBLY FOR THIS GUY i took a class that using the HC112 micro in all asembly and about shot my self. i was just thinking there was going to be an easy way to tell how many cpu clock cycles it...
  8. Replies
    7
    Views
    1,677

    somebody might be able to correct me if i am...

    somebody might be able to correct me if i am wrong but here is a basic understanding of it

    computer memory is cmos technology( which is a type of transistor) which we could get into a whole debate...
  9. Replies
    13
    Views
    9,216

    cpu clock cycles

    this may not be the best forum to post this in, but i have had great results posting comments here....thank you everyone for your help

    what i am trying to figure out is how many clock cycles are...
  10. Replies
    10
    Views
    2,392

    i do know i need a main, the main is just a giant...

    i do know i need a main, the main is just a giant case statement that class this function

    Run-Time Check Failure #3 - The variable 'image' is being used without being initialized.

    it gives me...
  11. Replies
    4
    Views
    4,852

    depending which micro you have the code would be...

    depending which micro you have the code would be even simpler, for instance the micro i do all my programing with is the PSoC programmable system on chip and the languages are c or assemble but to...
  12. Replies
    10
    Views
    2,392

    here is my code all the way through, it complies...

    here is my code all the way through, it complies fine but when i try and run the it it says the variable image is being used with out being assigned or blows up


    {
    byte **image; /* 2-d...
  13. Replies
    10
    Views
    2,392

    so here is my code so far, i am having trouble...

    so here is my code so far, i am having trouble compling it i dont know why, but should this work this is just the function to find the min value i know that the max value would be the same


    ...
  14. Replies
    10
    Views
    2,392

    mean, max, min in a 2d matrxi

    i need helping finding the mean maximum, and minimum values for a two d matrix, yes i know this may be simple problem but i am not the best coder in the world i am stuck, so what i have so far is i...
  15. Replies
    1
    Views
    2,993

    finding mean minimum and maximum values

    I am trying to write a function that finds the mean maximum and minimum values for an image yes an image, Which is nothing to extraordinarily because it is just a two d matrix of pixel values. So...
  16. Replies
    6
    Views
    1,720

    i know, i not yet gotten to make the code pretty...

    i know, i not yet gotten to make the code pretty yet, i need it all to work first, which is why i plan on factorizing it like you said and reducing it but i need to be able to break out of the for...
  17. Replies
    6
    Views
    1,720

    My main loop is just a while(1) with both the...

    My main loop is just a while(1) with both the switch statements
  18. Replies
    6
    Views
    1,720

    So i know normally that to break out of a for...

    So i know normally that to break out of a for loop you would just simply have to put the code "break" in and that will exit the loop, my issue is a little more complex. What i am doing is i have two...
  19. Replies
    8
    Views
    1,659

    two for loops executing toghether

    so i am trying to get two seprete for loops to execute at the same time, i need to give everyone some background information, i am using a microcontroller the cypress PSoC to be exact so some of the...
  20. Replies
    8
    Views
    1,659

    thank you for you suggestion all though when i...

    thank you for you suggestion all though when i tried to implemet your code changing my previous funtion definitions and what not i got a ton of errors, and to be honest i am not sure what your code...
  21. Replies
    8
    Views
    1,659

    So first i would like to say that i am doing this...

    So first i would like to say that i am doing this programming inside a microcontroller based complier, but the language is still c, so i appreciate the help because i am stuck right now ,

    so here...
  22. Replies
    5
    Views
    6,992

    random number generator

    I am trying to implement a random number generator

    I am not using visual studies but the complier is still a c complier and i will explain any of the code that is not the standard "norm" in visual...
  23. Replies
    4
    Views
    2,613

    Decade counter

    I am trying to make a decade counter in c, and not sure how to do it...I think this might work but not sure...

    Not to insult any body intelligence but a decade counter lights up less in sequence...
  24. Replies
    3
    Views
    739

    the first function is main, and all it is the...

    the first function is main, and all it is the while loop, i forgot to copy the void main, its getting into the second function and never out of it
  25. Replies
    3
    Views
    739

    don't know why this work

    tlkj
Results 1 to 25 of 43
Page 1 of 2 1 2