Hi Darrell--
Thank you for taking a look at this! That was, in fact, the problem. I turned off the serial number programming feature and it worked, and I verified that by turning the serial...
Type: Posts; User: alanmcf; Keyword(s):
Hi Darrell--
Thank you for taking a look at this! That was, in fact, the problem. I turned off the serial number programming feature and it worked, and I verified that by turning the serial...
Hi Bert--
Thank you for your reply! My reference to INTRC was actually referring to the configuration option I selected from the pull-down menu for the meProg software-- it tells the U2...
Hi--
I've got PBP2.6 with a U2 programmer here, and I have been happily writing and debugging PICBASIC programs since 1996, so I'm not a newbie. However, I'm having a problem here that I just...
test code tags
hhjk
Hey Darrel--
I've been trying to reach you re: the consulting I'd hired you to do. I've sent three emails with no response. If you need more money, I'm happy to pay it, and you also have $2200...
Hi Darrel--
Right on about the channel, it should say 6. Otherwise, I don't think it's a hardware issue, i.e. resonator vs. crystal... I've been using PBP code (follows) to capture a single...
Hi--
I'm trying to adapt Microchip's AN1076 appnote on DMX to use as an assembly language subroutine in PBP. I'm using a PIC18F4520, 16MHz resonator, PBP 2.5a. What the code should do is...
Sougata is right, and yes, Darrel, I am not worthy. Arthur C. Clarke said that any sufficiently advanced technology would be indistinguishable from magic; Instant Interrupts is magic, and Darrel is...
Hi Darrel--
Are you saying that your elapsed timer routine uses Timer1 without actually turning it on, thereby avoiding the portc.1 problem? I will try this immediately!
Thanks--
--Alan
Hi bearpawz--
I think your problem is probably that your F818 is powering up with the default of having Port A in analog mode. Try inserting this near the beginning of the program:
ADCON1 = 7...
Hmmm... Sougata's point about starting timer1 sounds like it might be the culprit, at least as far as RC1 going to input. PWM2 drives a fan via a MOSFET, so if RC1 goes to input, the pullup I have...
Hi sougata--
The code is massive, with a dozen include files... it would be a real mess to upload it. PWM on channel 1 always works. I have discovered since I posted that message that if I start...
Hi--
I'm having a problem with Instant Interrupts that I can't figure out... I'm using Darrell's Elapsed Timer with V3.2 of DT_INTS-18 and Reenter-PBP-18. The chip is an 18F4520 running at 16MHz. ...
Hi John--
I tried the While:wend loop you recommended to compensate for the adrress offset, but it didn't fix it... what DID fix it was getting rid of the HSERIN command-- when I changed that to...
Hi John--
Well, I got it working, and its working fast, solid, stable and it is a really beautiful thing! Thank you so much for your help!
I am having one problem... I used your code as-is,...
Thanks, John, for your help! I will be coding my gizmo in the next few days and those snippets will be very helpful in getting it up and running!
I'll let you know how it goes...
Thanks...
Hi John--
It would be great to see some actual code snippets-- that's the best way, I've found, for me to learn anything code-wise.
By the way, I'm using an NSI Melange DMX board (circa 1993)...
Hi John--
Well, I bought the DMX spec... the current version is now $40. I feel that I understand what's going on there well enough to proceed with trying to translate that into PICBasic.
...
John, thank you so much for pointing me in the right direction!
I'm using a 16F877 at 20MHz, so the UART RX is pin 26, aka RC7. I'm using a 75176 also. I have no experience using the UART at...
I would love to see your code on that-- that very problem (DMX in PICBasic only) has been plaguing me for years and I've never had the time on a project to sit down and figure it out. Seeing your...