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

division problem 500000 / 133

Hello, I need to divide 500000 by my input so 500000 / input Ex: 500000/145= 3448 Obviously this is a 20 bit number. tried reducing to 50000, but I get stuck with a decimal, used : input1 = 50000 / 145...

View Article


Image may be NSFW.
Clik here to view.

Comic for May 24, 2013

View Article


Firmata

Hi all, I intend to start work on firmata piccasic firmware. Was anyone worked on this? Firmata claims to be universal protocol to make ANY mcu as PC extension. But it seems to me that all efforts are...

View Article

Image may be NSFW.
Clik here to view.

Comic for May 25, 2013

View Article

Need advise on copying waveform

I want to copy a waveform I have with a starting pulse of appx 3.3mS high and then 1s and 0s follow it with their own high/low timings. I have a PIC 16f676 and I wrote some code by measuring the...

View Article


Bare Bluetooth Keyboard chips.. Recommendations?

Hi Guys, I want to interface an 8 bit pic to the iPhone over bluetooth using a keyboard interface, so a pic connected to a BT keyboard chip can send text strings and press enter. In case you didn't...

View Article

Problem reading 24FC1025 EEPROM with 18f14k22

Based off of an article (Serial EEPROM Part #1) by mackrackit, I have been attempting to read/write to a 24FC1025 EEPROM. I have done this in the past using an 18f4620 and everything worked as...

View Article

Low frequency generator

Hi, I am trying to make a low frequency generator at 50% duty cycle. Low meaning from 10hz to 250hz. After 245Hz, I can use the command HPWM (and why dont they make the command HPWM go down to 1- Hz...

View Article


Image may be NSFW.
Clik here to view.

Comic for May 26, 2013

View Article


Set configuration bits

Hi, how can I set this things with microcode studio on PIC16f819? @ DEVICE INTRC_OSC @ DEVICE WDT_OFF @ DEVICE PWRT_OFF @ DEVICE MCLR_OFF @ DEVICE BOD_OFF @ DEVICE LVP_OFF @ DEVICE CPD_OFF @ DEVICE...

View Article

Problem with clock

Which is the instruction to set on a PIC16F628 or PIC16F628A to use the internal 4MHz oscillator?

View Article

18F87J50 - is there a typo in the .info file/MeLabs software or do I need sleep?

I've spent the better part of my weekend trying to figure out a problem I was having with the 18F87J50. The problem I was tracing ended up being a hardware issue but while troubleshooting I noticed...

View Article

18f4550-problem output

hi, the output of 18f4550 is double i.e.suppose 1 led is on, but 2 leds are on instead. can anyone help?

View Article


Image may be NSFW.
Clik here to view.

Comic for May 27, 2013

View Article

PIC18f458 CAN BUS error

Hi, I'm making a can bus with two pic18f458 that one is in normal mode and always is sending some data to the bus, the other micro is in listen only mode and it should be accept any data with any ID...

View Article


Image may be NSFW.
Clik here to view.

Low Power on 16F1827

The attached test code does mostly sleep and wakes for a little when PortB.0 is left floating (it has Pull up enabled). Then goes back to sleep again. During Sleep, I expected a current of 20 uA but...

View Article

Image may be NSFW.
Clik here to view.

Comic for May 28, 2013

View Article


Real Time Clock 1302

Hi guys Found this example on the site but could not find how the tris bits are set for for the data direction from out to in the code , is it required , if not how did the data pin change direction...

View Article

18F46K22 HPWM blips and errors

hi guys... I've been trying to figure this out all weekend and I'm stumped... I have a project that I'm doing for my sisters birthday. It uses all 5 hardware PWM on the 18F46K22. However, i noticed the...

View Article

Assembler Error Msg?

I've recently upgraded my PBP from 2.6 to 3 but I often receive error messages in the compile process that I didn't previously receive with the same code like: [ASM ERROR] My_Program.ASM (48) : CONFIG...

View Article
Browsing all 4787 articles
Browse latest View live