Thanks Guys,
Just downloaded and installed XC8 and also found a copy of the C Programming Language in PDF format and downloaded that. Need to buy a tree now for the printer so I can get hard...
Type: Posts; User: keithdoxey; Keyword(s):
Thanks Guys,
Just downloaded and installed XC8 and also found a copy of the C Programming Language in PDF format and downloaded that. Need to buy a tree now for the printer so I can get hard...
Could I ask what books you bought. I bought a couple of books about C but they dont seem particularly suited to Microcontroller particularly with regard to libraries and hardware.
Thanks
Keith
Thanks Tumbleweed, will do some experimenting when I get home.
Love the lamp Dave. Looks really cool.
I am using WS2801, WS2811, APA102 and some PL9823 LEDs in a project. Will post pictures...
I have a chunk of time critical bit banging code for driving WS2811 LEDs so I cant allow it to be interupted.
If I do the following.....
@ INT_DISABLE TMR1_INT
{whole chunk of time...
Many thanks to Richard and Dave for letting me know I should be using PORT instead of LAT and thanks to Henrik for the explanation.
Making the changes has fixed the issue and also cured a couple...
Thanks guys, I will try with the PortX.y version instead of LATX.y although what I don't understand is why it works with the LAT commands but only stops something on Port B from working when I am...
Lots of variables cut out but the config and pin aliases for the relevant pins are shown
;----[18F46K22 Hardware Configuration]------------------------------------------
#IF __PROCESSOR__ =...
Hi All,
Just spent over three hours trying to find a bug which doesn't appear to be a bug !!!
I have a couple of include files that I found through this forum that are used to bitbang data to...
Trying to resolve an issue like this is like trying to find a needle in a haystack. I recently got a shiny new i7 laptop at work and installed all the programs I needed to do my job. The software I...
Try http://www.sbprojects.com/knowledge/ir/index.php and follow the instructions on "How to Navigate", there is a dropdown on the menu bar that lists all the different protocols.
I check every day but recently there have been a spate of spam posts.
Thanks for the help guys.
I have sussed out the two issues that I had.
For the INTS-14 version on the 16F877 that wouldnt compile, the problem was highlighted in DT_INTS-14 itself. I should...
Hi All.
Between 2001 and 2009 I did an awful lot of PBP programming and wrote many programs however one thing I didnt use was DT Instant Interrupts.
I returned to Pic Basic programming in late...
The dials in British phones had 5 contacts. 2 of them were the pulsing contacts which were normally closed and pulsed open for the dial pulses. The other three contacts were normally open and are...
Its a long time since I did my BT apprenticeship (40 years!) and I no longer have any of my notes but this thread triggered something in my brain about the minimum Inter Digit Pause being 450mS as...
I got the email today. Allegedly 96.44.189.100 was trying to get in. Resolves to USA
I have just returned to the Forum and PBP programming after being absent for most of the last 5 years. I am totally stunned and shocked by this sad news :(
I learnt an awful lot from Darrel's...
Many thanks Graham.
I couldn't find it on Microchip by searching directly but good old Google found a reference to a page on a university site that mentioned MPLAB 8.8 and Vista. That linked to...
Hi All
Having not used PBP for the last 4 years, I am just getting back into it. I have been reading up on some of the newer PICs and decided to have a play both with writing from scratch and...
Look at the Datasheets. 16F877 uses C6 and C7 as you say, but the 16F628 used B1 RX and B2 TX
the only thing that I can see needs changing from a quick glance is the line....
TRISC = %10111111...
It means the mask is applied to the variable being masked and bacause it is an AND, only the bits that are a 1 in both number appear in the result eg assume the number 26 for d[0]
00011010 = 26 =...
Just a guess that the & is a Logical AND and that the # is used as an indicator for binary so the the variable d[0] is being masked to get bits 0-2 in the first case and bit three in the second case....
Desktop is an area within your user profile and therefore private to you. The program may well only have read access to that location. Try putting them in a more general location such as...
What frequency range are you outputting from the PIC ?
If there were high frequency harmonics caused by clipping or a "dirty" source signal then the resistor would be more likely to vapourise as it would be recieving lost of power at a lower frequency...