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...
Type: Posts; User: Gerald; Keyword(s):
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...
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
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,...
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...
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...
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...
PS. How should one paste code into this forum?
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...
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...
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 -...
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.
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...
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...
' Name : Henrik.pbp
' Compiler : PICBASIC PRO Compiler 3.1.6.2
' Assembler : PM or MPASM
' Target PIC : 12F types
' Hardware : Non specific
' Oscillator : internal
...
I am sure the pin is wired correct and I can measure it going from 0 to 4.8V . Let me look some more . . . . . . .
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...
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:
...
Thanks, you make it clearer than the other reply (the words goto Mainloop appears twice, I was moving the wrong one)
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...
I have tried this and it seems to work:
#CONFIG
__config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _CP_OFF
#ENDCONFIG
I don't understand your logic. Would you mind giving me more information?
Thanks. It is going to take me a while to understand that.
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...
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...
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...