Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Gerald; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Can't find my .hex file - timestamps confusing?

    My .pbp file is in a Dropbox folder. The first .hex I make on a day also goes to that Dropbox folder. Any subsequent .hex goes to the Documents > PBP3 > EXAMPLES folder. Newer saves of the .pbp stay...
  2. Re: Can't find my .hex file - timestamps confusing?

    Hi, sometimes Dropbox and sometimes C:

    That might explain my erratic problem. Will be back at my desk on the weekend to try again.

    Thanks
  3. Can't find my .hex file - timestamps confusing?

    I wonder if I am going nuts or if others experience this too . . . . . . .

    MCSX 5.0.0.5 If I compile a program at 9.00am I easily find the hex file with the timestamp of 9.00am. But then,...
  4. Replies
    3
    Views
    1,364

    Re: PAUSE for a variable time? Using MAX and MIN

    Thank you Ioannis and Henrik, both your suggestions would be suitable for me. I apologise for posting this amateur question. In my defence, I had just started a section a code when the grandchildren...
  5. Replies
    3
    Views
    1,364

    PAUSE for a variable time? Using MAX and MIN

    In my program I have LC as a variable word ranging from 0 to 57000. It is the mainloop counter

    In a subroutine I want to pause a variable amount of time in the 0 to 5000 part of the mainloop...
  6. Replies
    4
    Views
    1,573

    Re: Time taken to do mainloop

    Thank you Henrik. I get a very repeatable 3 seconds of video recording every minute. I used a video of a "stopwatch" to calibrate the numbers: https://youtu.be/MC7C31mJ4ds
    This does not need to be...
  7. Replies
    4
    Views
    1,573

    Re: Time taken to do mainloop

    PS. How should one paste code into this forum?
  8. Replies
    4
    Views
    1,573

    Time taken to do mainloop

    Okay, I have now got a functional program and don't need to do any further programming till I have tested on a real life scenario. But I am curious about how the internal clock of the PIC12F683...
  9. Replies
    8
    Views
    2,061

    Re: Unchanged progam does not compile today??

    Indeed! I must have changed the chip type by mistake with all the visits to the Compile button right next to it (The 16F1937 is the next one on the list)

    See, my Australian friend, posting the pic...
  10. Replies
    8
    Views
    2,061

    Re: Unchanged progam does not compile today??

    Uninstalled the compiler, downloaded a fresh Student edition and the problem is solved. Thanks for considering it anyway. (I can't help that this forum makes a blurry pic -...
  11. Replies
    8
    Views
    2,061

    Re: Unchanged progam does not compile today??

    I have not changed anything in that part of the program for the last 50 revisions over a few days. If I take that line out, it objects to the next line, etc.
  12. Replies
    8
    Views
    2,061

    Unchanged progam does not compile today??

    I have been working with program for a number of days and suddenly this morning I get this compile error. I had also saved another version of that program earlier this morning, and that also fails...
  13. Re: Why would this simple code hang after 10 cycles:

    Changed the WPU command and in the Mainloop said IF Cycle = 0 instead of 1 (grounding pin7 / GP0) must start the cycle. Ready to go to the next challenge . . . . . .

    #CONFIG
    __config...
  14. Re: Why would this simple code hang after 10 cycles:

    ' Name : Henrik.pbp
    ' Compiler : PICBASIC PRO Compiler 3.1.6.2
    ' Assembler : PM or MPASM
    ' Target PIC : 12F types
    ' Hardware : Non specific
    ' Oscillator : internal


    ...
  15. Re: Why would this simple code hang after 10 cycles:

    I am sure the pin is wired correct and I can measure it going from 0 to 4.8V . Let me look some more . . . . . . .
  16. Re: Why would this simple code hang after 10 cycles:

    Thanks very much Henrik. That works . . . . too good! I can't switch off the cycle, it just keeps running.
    The switch pulls pin to ground. (In real life I use this in my car where I have a relay...
  17. Re: Why would this simple code hang after 10 cycles:

    I tried this, but now I get no result at all:

    j var word ' timing loop count for 3sec record timing
    k var word ' timing loop count for 57sec wait timing


    Mainloop:


    ...
  18. Re: Why would this simple code hang after 10 cycles:

    Thanks, you make it clearer than the other reply (the words goto Mainloop appears twice, I was moving the wrong one)
  19. Why would this simple code hang after 10 cycles:

    Good Morning

    I am having a problem with the process hanging after 10 record cycles. Toggling the CYCLE switch does not get it running again. It hangs in the "not recording" mode every time.

    So...
  20. Replies
    4
    Views
    1,565

    Re: #CONFIG for a PIC12F683 ?

    I have tried this and it seems to work:

    #CONFIG
    __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _CP_OFF
    #ENDCONFIG
  21. Re: Remote sensing of GoPro from its blinking LED?

    I don't understand your logic. Would you mind giving me more information?
  22. Re: Remote sensing of GoPro from its blinking LED?

    Thanks. It is going to take me a while to understand that.
  23. Replies
    4
    Views
    1,565

    #CONFIG for a PIC12F683 ?

    Hi, I have a horrible pic programming system where I have to manually type in the config every time I want to write to the chip. (and sometimes I make mistakes!). Of course the elegant way is to...
  24. Re: Remote sensing of GoPro from its blinking LED?

    I think my first post has been misunderstood . . . I am not trying to do Wifi with the pic. The wifi module is still in the Yoctop and still works as original. I have put the pic on top of the...
  25. Re: Remote sensing of GoPro from its blinking LED?

    It communicates with Wifi. (I can see the Yoctop on my Android wifi connections and that is the method of updating the Yoctop). Inside the Yoctop is an Espressif ESP32-WROOM-32U which is supposed to...
Results 1 to 25 of 26
Page 1 of 2 1 2