sd using SDFS.bas FAt16 ON 18F67K22
Hi guys , i am trying out the SD card using software spi on a 18f67k22 - 64 osc , the pic is at 5v I am using the SDFS,bas and example from here I have 2 devices on the spi bus with a level converter...
View ArticlePosting images in threads??
Is the only way to post an image or schematic clipping to a forum post by doing an image upload?? Is it not possible to use a cut/paste utility to paste an image or screen clipping directly? I use (and...
View ArticleCount Pulses and duration
Greetings, I have a project where i need to check 2 inputs but i have no clue how to do it... i will try to explain. --What i have-- Both signals start and end at the same time One changes to high and...
View ArticlePorts interacting?? 16F1826
OK, any ideas on this one? This is my code: Code: ;----[16F1826 Hardware Configuration]------------------------------------------- #IF __PROCESSOR__ = "16F1826" #DEFINE MCU_FOUND 1 #CONFIG cfg1 =...
View ArticleIF-THEN issue
I have a simple program that jumps to a few subroutines, looks for a high on a pin, sends out data to a digital pot and goes back to the main loop. I'm having an issue that if the pin is high, it...
View ArticleSEROUT and HSEROUT
I'm working with 18F6720 and RN171 (WiFly). I need send commands to RN171 with Uart. Then I send serout PORTC.6,N9600,["$$$"] and RN171 don't reply but if i send DEFINE HSER_BAUD 9600 hserout ["$$$"]...
View ArticleCheap eBay GU10 LED bulbs potentially dangerous
Has anyone else seen this? I have about 18 halogen GU10s in the garage that I wanted to change to LEDs; save on electricity, lower the heat emanation, etc. The LEDs at the local stores are ridiculously...
View ArticleAcessing Config1 Register in PIC16F88
can anyone advice why setting config1 register for PIC16F88 produce syntax error ? I want to set FOSC1 & FOSC0 in Config1 register. Refer datasheet page 130. Thx.
View ArticleXTEA for PIC16F... without using longs
Hi! I'm searching for a code snipplet: XTEA encryption algorithm which works with Pic Basic Pro on a PIC16F... I can't use long variables. (program code available is all for 18F using PBPL). Any help...
View Article'[HD44780] Controller received data whist busy' error while simulating
I am getting '[HD44780] Controller received data whist busy' error while simulating in proteus. Is there any delay I should consider, if then when and how much? Thanks code: Code: Gosub clear...
View ArticlePBP3 Timer and RS232
Hello to all I thought of making a small quite simple interface but that does not turn(shoot) as I want. The program is realized in PBP3 and the PIC is programmed with one pickit3. I use a PIC16F1825,...
View ArticleExit from an IF/ENDIF loop with a GOTO
In a time sensitive application I did try to gain time jumping out of a IF/ENDIF loop with a goto instruction. Here a snippet as example. Code: Main_Loop If A > B then A = B Gosub one Goto skip_00...
View ArticleNeed help to modifie a thermostat project
hi im a electronic hobbyist and i found an open source thermostat project want to made it but i cant found in my country the ds18B20 :mad: we have here just the ds1820 im not a programmer :confused:...
View ArticleNokia 3310 and servo motors
Can someone take a look at my code and tell me why my RC servos won't move when I use the include LCD_3310v32.inc. If I remove that include the program works as it should. I have a project that I'm...
View ArticleFiguring out the Fixed Voltage Reference (FVR) 12F1822 (and others)
Hey group, Well I spent most of the weekend trying to figure out how to take advantage of the FVR to improve my A/D conversions. Just when I though I'd never get it... and Darrel's (and others) hints...
View ArticleLED turns off when jumping to a routine
I have a funny issue I have been dealing with for some time and can't figure it out. I am using a 16F1829 and have the LED on porta.5 During my startup routine, I have porta.5 setup for digital, no...
View ArticleADC calibration menu
Hi I would like to make a menu where I can setup a calibration table for a voltage read from the ADC from a non linair RF power detector example: Power is 10W (RF power) detected by an RF detector...
View ArticleCan't seem to find DT's Ansi.INC file
I have found where this file is supposed to be, but can download it. Clicking on the ICON does nothing . . . The reason I need it is to be able to clear the hyperterm screen - (the screen above what...
View ArticleWrapping code
If I have a line of code that's 150 characters long, is there a way to continue that code onto the next line so all of the code can be viewed on my screen without scrolling to the right?
View ArticleData labels
Can anyone verify? I'm using PBP 2.60 and reading the manual: Copyright ©2009 microEngineering Labs, Inc. Oddly, the PDF version of the manual I'm using doesn't (at least readily) identify the software...
View Article