Search:

Type: Posts; User: joesaliba

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    7
    Views
    8

    Re: Watchdog timer

    Thank you all for your help.

    I couldn't agree more with Mellbreak, nice summary Stephen, thanks.
  2. 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...
  3. 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...
  4. 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.
  5. 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...
  6. 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.
  7. 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...
  8. 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...
  9. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Ok now I think understand.

    I will try something else later.
  10. 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...
  11. 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...
  12. 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?
  13. Thread: Simple timer

    by joesaliba
    Replies
    29
    Views
    30

    Re: Simple timer

    Post your code and please explain a bit better what you want.
  14. 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...
  15. 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.
  16. Replies
    2
    Views
    3

    Re: Anomaly reports

    Ok. Better to know.

    Thanks.
  17. Thread: Symbol

    by joesaliba
    Replies
    21
    Views
    22

    Re: Symbol

    Same as I suggested. I think it is the only method.
  18. 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.
  19. 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...
  20. 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...
  21. Replies
    2
    Views
    3

    Anomaly reports

    I cannot find the anomaly reports shortcut. Usually it was under `Forum Action' if I remember.
  22. 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...
  23. 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.
  24. 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...
  25. Replies
    17
    Views
    18

    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.
  26. Replies
    6
    Views
    7

    Re: PIC16F18877 - no PWM output

    George,

    That is something that Fuse Configurator do.
  27. Replies
    17
    Views
    18

    Re: 3D printer. Yey!!!!

    That is super cheap Les. Thanks for the info re CNC machine.
  28. Replies
    17
    Views
    18

    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...
  29. Re: Les has just uploaded Proton Compilers Full Installer (Mk2) - Proton 3.6.2.3 - Pr

    This time looks ok Les. Thanks for the quick update.
  30. Replies
    12
    Views
    13

    Re: Pulse counter memory problem

    Thanks for your kind words.

    The idea came when I needed to write to eeprom every 20 minutes on an 18F26K22, which have 1024 eeprom address, and made my grey cells work harder.
  31. Replies
    17
    Views
    18

    Re: 3D printer. Yey!!!!

    If you succeed in PLA recycling I will buy PLA from you :smug:
  32. Replies
    17
    Views
    18

    Re: 3D printer. Yey!!!!

    There was another software from Autocad. Autocad 123D. All you had was objects such as triangles, squares spheres etc. and you merged, fix sizes etc. It was a free version, but Autocad decided to...
  33. Re: Les has just uploaded Proton Compilers Setup 3.6.2.3 - 1.0.5.3!

    Les,

    Uninstalled the previous compiler and installed this version. However, every time I hit Compile it is searching for the compiler and nothing will compile.
  34. Replies
    17
    Views
    18

    Re: 3D printer. Yey!!!!

    Les,

    Right now I am printing a large print. The print will be a sunshade for my Nvidia tablet which I use to fly the drone with. Unfortunately, I did not find a sunshade for my tablet as size is...
  35. Replies
    12
    Views
    13

    Re: Pulse counter memory problem

    Les,

    With regards eeprom cycle lifespan, if I need to save say every half an hour, I use a method to write to different eeprom address. Reading back is simple.
    This is a summary of what I do.
    ...
Results 1 to 35 of 100
Page 1 of 3 1 2 3