--- This is a test - only visible to admins ---
--- advertisement may go here ---

Search:

Type: Posts; User: joesaliba

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    16

    Re: P24 (using Procedures) for 18F Pics??

    Same here .
  2. Replies
    13
    Views
    14

    Re: Multiple functions by a single switch

    Can you please explain connection of thumbwheel switch? And when to start the counter? When you press a push or something similar.
  3. Replies
    13
    Views
    14

    Re: Multiple functions by a single switch

    The code in post #4 is what it do!
  4. Replies
    13
    Views
    14

    Re: Multiple functions by a single switch

    So my example code works for you. I used that method long time ago and it works, maybe it needs some tweaks but it works. If you have an LCD attached it is even better because you can see at what...
  5. Replies
    13
    Views
    14

    Re: Multiple functions by a single switch

    The following code will go through five different function upon your selection. This was a quick code just to let you think about it. NOT TESTED but should work.


    Dim Sele As Byte = 0
    Dim Time...
  6. Re: Les has just uploaded Proton Compilers Full Installer - Proton 3.6.2.6 - Proton24

    Thanks Les!
  7. Replies
    2
    Views
    3

    Re: exception on (bypass) clear command

    Before I read the eeprom part I was thinking the same, write to eeprom and then retrieve it. If you are running out of eeprom space you could use a CWrite, but I never used it so cannot give you...
  8. Replies
    7
    Views
    8

    Re: Watchdog timer

    Thank you all for your help.

    I couldn't agree more with Mellbreak, nice summary Stephen, thanks.
  9. Replies
    7
    Views
    8

    Re: Watchdog timer

    @Dave: - Thanks for that. So I assume that DOGTIME is the time the watchdog is set.

    @Tumbleweed: - I am able to set it via the config settings, what I am unsure is if I have to place the CLRWDT...
  10. Replies
    7
    Views
    8

    Watchdog timer

    I have a code that basically looks for four input and four outputs, depends on various timing and input conditions. I use interrupt and some delays in main code.

    I was thinking to add a watchdog...
  11. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    I had seen what you wrote before you edited the post.

    Have a look at my comment in post #15 regarding printing and interrupt. You are all correct in what you are saying.
  12. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Exactly. See my comment in post #18.

    This week I just done a controller / timer for a jacuzzi. As I am using the same button to start or stop before the time elapse I use a couple of timers within...
  13. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    I am sorry but I cannot help you with this code. I did my best to come up with a working code and believe me I spent quite some time, I know the code I posted works so not going to see this code.
  14. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    See Mos,

    As I said earlier you cannot do the Print in the loop to show the remaining time as this is time consuming and instead of say, 45 seconds, you end up with 80 seconds. I know because I...
  15. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Ok. I think I came up with something you desire.

    I think I also found an anomaly within the compiler which I will be posting in another thread if my findings are correct, at least with 18F...
  16. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Ok now I think understand.

    I will try something else later.
  17. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    I did some code, tested on real hardware and it works. It is doing what I understand what you want.

    Please note the following: -

    in my case, I had to use different pins: -

    To start the pulse...
  18. Replies
    25
    Views
    26

    Re: Delphi or Visual Studio etc. ?

    I did not done too many applications, but the one I have made I used Visual Basic.

    I needed a gauge and used DotNetBar with Visual Studio. Just have a look here and see how you can turn a simple...
  19. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    I will try to come with something tomorrow, too busy today.

    When the counter reach zero, how long should the pulse stay ON?
  20. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Post your code and please explain a bit better what you want.
  21. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    I do not have that PIC, but it is similar to 18F26K22, but with more pins.

    The following compile with no errors. Can you check it out?

    Stack underflow has nothing to do with the code I...
  22. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    What PIC are you using? The code I posted is from a copy and paste working code, so if you copy and paste and change to your PIC it should work.
  23. Replies
    2
    Views
    3

    Re: Anomaly reports

    Ok. Better to know.

    Thanks.
  24. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    Same as I suggested. I think it is the only method.
  25. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    I do not think you can as you have mixed PORT.

    Having said that, I think once I read somewhere on the forum where two ports can be `added together', but cannot find it.
  26. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    Load my example into your development board, change the PIC to the type you have, and you will see that it works.

    The code I posted mimics your pin input as well. If I press PORTC.3, PORT0 will be...
  27. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    You cannot work as the code you posted.

    You need that from time to time you go and RELOAD PORT0 with the state of the pins.

    Have you seen my WORKING example?

    I Gosub Comp every 100ms to...
  28. Replies
    2
    Views
    3

    Anomaly reports

    I cannot find the anomaly reports shortcut. Usually it was under `Forum Action' if I remember.
  29. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    This tested and work: -


    Device = 18F26K22 ' Device selected

    Xtal = 16 ' Selected frequency

    OSCCON = %01111000 ' Set internal...
  30. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    Depends the state of the pins. If all of them is 0, then PORT0 will be 0.

    I have a working code like that. Will dig part of a large code for you to see.
  31. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    I use the following method and it works. I also use it with a Word variable as I exceed 8 pins: -


    Dim PORT0 As Byte = 0

    Symbol Pin_1 = PORTA.0
    Symbol Pin_2 = PORTA.1
    Symbol Pin_3 = PORTA.2...
  32. Replies
    24
    Views
    25

    Re: 3D printer. Yey!!!!

    Les,

    As I suggested in post #2 Fusion 360 is impressive, at least from my perspective.

    As a printer I have the Creality CR10S. I heard some good things about the Ender.
  33. Replies
    6
    Views
    7

    Re: PIC16F18877 - no PWM output

    George,

    That is something that Fuse Configurator do.
  34. Replies
    24
    Views
    25

    Re: 3D printer. Yey!!!!

    That is super cheap Les. Thanks for the info re CNC machine.
  35. Replies
    24
    Views
    25

    Re: 3D printer. Yey!!!!

    Couldn't agree more Bob. Depends on what I am printing I select the correct infill in Simplify3D. I use 3DPrima filament. Superb prints all the time. and if it still available, they had an offer that...
Results 1 to 35 of 100
Page 1 of 3 1 2 3