2 LEDs used Bi-directionally
I'm building a matrix using this idea: http://www.picbasic.co.uk/forum/showthread.php?t=14439 Attachment 7193 Pseudo-code: Code: GP0 TRIS 1Â Â ' Input GP1 TRIS 0Â Â ' Output GP1 = 1Â Â Â Â ' Yellow ON...
View ArticleRemember the Cosmac Elf??
Hey all you BIT nerds!! Anybody remember the Cosmac ELF?? Circa 1978. Well if you do (and even if you don't) take a look at the "Membership Card" kit by Lee Hart...
View ArticleAny different between USART and EUSART?
Wow, tough crowd. http://www.microchip.com/forums/tm.a...&mpage=1&key=& I had the same question tonight, happy I used google. I may be able to "find stuff" in a datasheet, it doesn't mean I...
View ArticleAdc on 18f67k22 - an4
hi guys , in the process of porting code to 18F67K22 and need some input on the ADC setup for AN4 input , The code worked prior to porting to the chip so its goto be a register / setting not quite...
View ArticleDS1302 Problem, again :(
Hello. I'm fighting with bloody DS1302 and PICBASIC PRO, but have no luck. I have DS1302 assembled on separate PCB with backup battery, and using Chris Savage's code on Basic Stamp, it runs just fine,...
View Article12F683 - basic code not working
Hi Guys, Playing about with a 12F863 chip for a small project, but to start with thought I would do the basic LEDs flash to ensure programming and that the PIC runs. The code compiled, and ran,...
View Article16F877A and Sensirion SHT21
Hi, does anyone here have a picbasic code for reading the SHT21 using 16F877A. i tried I2CREAD and I2CWRITE commands and it does not work.
View ArticleWhat am I doing wrong? 16F628A
Hi Guys, It should be pretty straight forward, but I'm at a loss. Trying to use a 16F628A and tried searching online for similar issues, but have been unsuccessful in resolving the matter. I wrote out...
View ArticleConditional compile
Hi, I'm trying to create include file. I need way to create conditional compile based on whether variable is defined or not in main file. Something like this: Code: Â Â #IFNDEF TmpB Â Â Â Â TmpB VAR...
View ArticleFree energy finally solved
Our energy problems are solved. http://www.gamaniak.com/video-7837-e...e-infinie.html Robert :D
View ArticleToggle line between two PIC's
Hi all, I want to set up a toggle line between two PICÂ’s to establish timing parameters for like routines on each PIC. I thought about a pull up resistor on the toggle line then pull it low to set...
View Articlehow to setup 7 digit led multiplexer code for running in background?
Hello. I want to drive 4 digit 7 segment led display directly with 16F870, without using MAX7219, HC595 or any other IC. I know how to wrote the needed code and when launched in loop, it works just...
View ArticleICD Malfunction?
Hi All! Okay so I have Microcode Studio Plus v 5.0.0.5 and complier PBPX 3.0.6.4. The PIC being used is an 18F1320. I keep getting an ICD timeout error message and the strange part to me is after an...
View ArticleLTC-1298 to 18K1320 not working?!
Hi All! Okay so for some probably very simple and basic reason I cannot seem to read from the 1298! I took an older program and decided to modify it. After hours of trial and error and a bottle of...
View ArticleDebugging USART using Saleae logic probe
A simple way of viewing USART transmissions when you're already using a Saleae probe. HSEROUT [DEC5 varTimer1, DEC5 varTimer3] Activate the serial analyser at the bottom right of the Saleae window....
View ArticleBITSCOPE users
Hi there, Are there some BITSCOPE DSO users out there? I'm looking for some basic information about how to use, in general, an oscilloscope but in particular this one, since I made this choice (good......
View ArticleLight Activated Chicken Coop Door
This project was a request from my wife who has recently had a coop delivered and now keeps three chickens (producing an egg each every day - yum !). To ensure the chickens are let out when the sun...
View ArticleCounter and interrupt theory
Just want to verify my thinking is correct about the following scenario. Say I use a 32.768Khz oscillator as a timebase and feed it into an 8 bit counter with a 256 prescaler. That means it should...
View ArticleShifting Bits
Hi All Can someone please help me. Ive got 20 bits of data that i shiftin the following way. Temp var word TempB var word TempC var Long Shiftin B3,B2,MSBPost,[Temp\16,TempB\4] How do i get Temp &...
View ArticleLanguage translator
My daughter wants to make a language translator for her science project. She wants to make a Siri-like device but obviously not as complex, no search function and it translates English into different...
View Article