Search:

Type: Posts; User: tunde

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    28

    Re: MCP23017 port pin expander not working

    Thanks a lot Les for this code. Please how can you help further to include how to read a pin of port from either of the the two ports on the expander.

    Thanks.


    Tunde
  2. Re: Question about aliasing port and port pins with variables or constant

    Hmn!

    thanks Tim,
    how i wish i could do use a variable, where i could just change the pin number by just increasing or decreasing the value of the variable.

    tunde
  3. Question about aliasing port and port pins with variables or constant

    Hi all

    is it possible to alias a port or port pin with variables or constant

    instance 1

    Dim PortPin As Byte

    PortPin = 0
  4. Replies
    5
    Views
    1,035

    [SOLVED !] Re: LCD and Keypad input

    Charlie,

    thanks for your follow up, really appreciate that, it worked.
  5. Replies
    5
    Views
    1,035

    [SOLVED !] Re: LCD and Keypad input

    Thanks Charlie,

    about looking up the value in the look up table is not actually the issue, its about displaying what i wanted on the lcd.

    like for instance i need to punch 1.23 on the keypad...
  6. Replies
    5
    Views
    1,035

    [SOLVED !] LCD and Keypad input

    Hi all,

    lately i ve been trying to make a digital thermostat were by i need to enter presetable temperature values or setpoints. i ve been able to get the keypad working and the lcd to display....
  7. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Hi George

    Yeah really i have been considering it since you mentioned. its kind of easy though(just used it for a test routine) and it did the thing. I am considering to using it for future...
  8. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Hi John,

    Message copied, but your work here is highly appreciated. thanks a lot

    tunde
  9. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Hi George,

    Thats a good one, guess i will really take a good look into it. But I guess its going to come at some cost.

    1. Popping and Pushing to Stack (Guess this might have some effect on...
  10. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    Sorry John i had found it in Tips and Trick under Maths. Thats a good place to have it.
    i had wanted to add another routine to it. MAPPING. just like we have it the C for Arduino but i am still...
  11. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    Hi John,

    Just want to ask if this article has been publish in the WIKI because i cant find it there. thanks
  12. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Good Day all

    @George, i m surprised i sent a reply yesterday only for me to check today and not see it posted. (may be i click the post button in my mind).

    I did checked out you thread on the...
  13. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Whao!!!

    You blew me away with the way your code is structured and or arranged. I guess the compiler will be very happy as its compiling your code.

    And must say a good thank you, because you ve...
  14. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Hi George and everyone;



    Well, one of the reason is it makes the code more readable because its not a one chunk of file and more easy to locate which part of the code is not functioning....
  15. Replies
    18
    Views
    3,968

    Re: Help Compiling Multiple Project Files

    Hi George,

    Thanks. yesterday i tried a lot of possibilities myself in making it work and i was able to pull some trick through.

    1. Yes it is possible to include a .BAS into one another cause...
  16. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    Hi Moscrash,

    Yes you cant see it yet because it has not been publish. For now its only one of the moderator and myself that can view it from the wiki. but mean while the everything is on this...
  17. Replies
    18
    Views
    3,968

    Help Compiling Multiple Project Files

    Hi all,

    I have a project which involves a lot of codes, so i decided that i was going to break the codes into multiple sections and include it in a main Project file and compile all.

    But when...
  18. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    Hi John

    Ok, its in Example code section of the WIKI and the name is Maximum, Minimum and Square Root Routines.

    here is a direct link to it on the wiki.
    ...
  19. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    Thanks Rick and John, i had done has you have said. I had publish it in the WIKI and also left a note there for the moderator to publish.
  20. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    You re welcome Rick.

    That will be great, but i don't know how to go about it.

    This and many more i had learnt from the forum and its my turn to start giving back.

    Tunde
  21. Replies
    13
    Views
    3,634

    Re: Max,Min and squareRoot routines

    you can copy the codes in part or include as a whole anyway you want. i have it in an include file called maths.inc so i just include the file then i make a call to any function i want.

    okay,...
  22. Replies
    13
    Views
    3,634

    Max,Min and squareRoot routines

    I would like to share some of work around with everyone especially the MAX and MIN that was removed from the compiler and also square root routines.



    GoTo Over_Define

    $define...
  23. Replies
    0
    Views
    779

    SprintimageY as Define

    Below is a modification i made to get the sprinimagey macro originally by Dave(thanks a lot). Bu recently as the compiler as seen a lot of upgrades its like many of this useful libraries were not...
  24. Replies
    11
    Views
    2,789

    Re: help using cdata and interrupt

    thanks for your quick response.

    i guess i will reduce the table values to 16 in numbers per line then change it from decimal to hex.

    i hope it works.

    i will surely keep you posted.
    ...
  25. Replies
    11
    Views
    2,789

    Re: help using cdata and interrupt

    h
    here it is norm

    i am using cread8 inconjuction with cdata as stated by the manual

    goto over_values


    values:
  26. Replies
    11
    Views
    2,789

    Re: help using cdata and interrupt

    thanks a lot
    but the error that i get from the compiler is "Assignment cannot be a constant" when my cdata values is more than 128 in numbers.

    please help how can solvethis as i need more values...
  27. Replies
    11
    Views
    2,789

    Re: help using cdata and interrupt

    lot of thanks guys, i was able to use the cdata outside the interrupt loop but i was unable to use more than 128 datas in the cdata. the compiler gives me error when the value is more than 128. but...
  28. Replies
    11
    Views
    2,789

    Re: help using cdata and interrupt

    thanks for the reply but what i need to update is inside interrupt. specificaly i need to update pwm values in the interrupt. i will give a try anyway.
  29. Replies
    11
    Views
    2,789

    help using cdata and interrupt

    Recently i tried to lookupl outside an interrupt service routine and call it from the Isr. but what i observed is that i was unable to get an update from lookup table placed in the lookupl outside...
Results 1 to 29 of 30