Quantcast
Channel: MEL PICBASIC Forum
Browsing all 4745 articles
Browse latest View live
↧

DT's Instant Interrupts disable?

I have searched for this, including Darrell's site, but can't seem to find an answer. Once you have the interrupts running, is there a way to temporarily disable them to complete some critical task?...

View Article


PWM GENERATION OF 25nS - 70nS outputs

Hi guys is it possable to generate PWM with output in 25ns - 70ns timing on 18F26k22 ?

View Article


Image may be NSFW.
Clik here to view.

PIC 18f2550 USB joystick TROUBLE (burnt PIC?)

hello everyone, i finished my 2 axis and 7 button joystick, plugged it into my PC and checked the device manager and everything was working OK then i unplugged the device and went on with my life.......

View Article

math function to change a value 1- 8 to a bit representation

it late and minds going dull looking for a math function to change a value 1- 8 to be bit 0 - 7 representation value value 1 = 1 ' bit 0 2 = 2 ' bit 1 3 = 4 ' bit 2 4 = 8 ' bit 3 5 = 16 ' bit 4 6 = 32...

View Article

I2C issues

I originally posted here; then, thinking the issue was solved, moved on. Unfortunately, fate is not so kind and again I face the issue... When the I2C Clock is connected to my 16F887A it works...

View Article


Thermal Printer

Hi everyone, I read that PIC can be interface with thermal printer with RS232(interface)...but to make sure can anyone suggest where (link) I can get one? And do all printer(thermal printer with Rs232...

View Article

identifying text commands

I need to have my microcontroller act upon different commands sent. For example if "GC" is sent it turns on a motor. If "GQ" is sent it sends back data. I would expect it to be something like this, as...

View Article

RandomÂ…. More like a scripted Sequence !!!

Hi all thank you for reading.. Quote: MyWord var Word MyByte var Byte Random MyWord MyByte=(MyWord//6)+1 Using the above basis I have created what I thought to be a "Dice" type program to give me a...

View Article


ADC setup on 12F1822 ??

Hello! Has anyone been successful on getting data from the ADC on a 12F1822? While I can get 8-bit conversions, I cannot get 10-bit results. I have puzzled through the related registers from reading...

View Article


Saving space - close to 128k

Hi guys, i need to find more code space as a result this requires some " clean up " of existing working code i have recovered 10k in space so far , by changing any thing with an " and " to 2 x 1f...

View Article

Found label after column 1 : Unsucessful Installation ?

Hello, I have installed the student version of picbasic 3 compiler and Microcode Studio and tried to recompile the code that has been perfectly working in the past. The compiler in Microcode Studio...

View Article

How to detect low battery in battery powered F683 circuit

I do a lot of battery powered designs with li-po (3.7v) batteries - mostly using 8 pin chips like the F683. I am trying to figure out if there is a way to use an AD input - or comparator configuration...

View Article

I try PAUSE 1000 and does'nt seem to pause program 1 seconds. Why?

For large amount of time, Pause does'nt seem to work well, the measured period is less than I expected. Code: main: high Led For i = 1 to 30 pause 100 next i low Led for i = 1 to 30 pause 100 next i...

View Article


Frequency counter-- old project revisit

I have been trying to understand the code for a frequency counter as I would like to build one. After searching for several days I have read this thread...

View Article

EEPROM query: easy for you, a mystery to me!

Hi, I do not understand how I can *apparently* write to 8-bit EEPROM addresses *above 1k* on an 18F46K22. Unbelievably to me, the following code works just fine, writing and reading back at address...

View Article


Problem in reading and writing internal eeprom

Iam not able to read & write internal eeprom Of 16f876A. My code is... DG1 VAR BYTE DG2 VAR BYTE DG3 VAR BYTE DIGIT VAR BYTE DG VAR BYTE COUNTT VAR BYTE CX VAR WORD NUMB VAR WORD N VAR WORD B1 VAR...

View Article

how to read 10 bit value of adc in pic 16f877a

hello everyone I have this code and tried it and its working perfectly to read 8 bit value of an0 ,it shows 0 to 255 value on lcd but i am not being able to read 10bit value of channel please help To...

View Article


ICD3 with PBP

I have an ICD3 that's been collecting dust. Every time I attempt to use it, I try for a little while, get sidetracked with something else and don't go back to it for some time. Then the cycle repeats....

View Article

Olimex Picstart+ Emulator advice needed

My apologies if wrong area for post.. Has any body any experince of using the Olimex PIC-MCP Programer with newer generaton PIC18F25K20 type chips. My main concern is the newer devices are VSS/VDD 3v3...

View Article

speed Calculations

Hi guys , i need to do some simple speed calculations in PBP 3 on 18f67k22 pic , that is very very full PIC already. i have not had to do floating point calculations before and not sure if i need to...

View Article
Browsing all 4745 articles
Browse latest View live