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

ESP8266-01 sharing my enthusiasm

Hey Group, I hope you all don't mind me sharing my enthusiasm over the very powerful ESPBASIC... If you are interested here is a little project I posted......

View Article


Array syntax not supported

Hi, I've received a PBP error when compiling a bit of code I'm playing with involving a PCA6985 chip. I started with 16 variables CH1_PWM, CH2_PWM etc and if I then have 16 repetitions of the following...

View Article


RN-131 WiFly Module

Hi All, Has anyone played with the RN-131 WiFly Module?, I have one and been playing about and seem to have everything working except trying to log onto an Access Point, I can keep getting the error...

View Article

If Endif loop with 'or'

Removed, as in wrong section

View Article

If endif loop with 'OR'

Hi, Can someone let me know how to do the following please? I'm using PIC BASIC and programming an 18F2431 PIC. I am trying to move an arm around a 360 circle. For example if it is at 1degree and it...

View Article


Email to close relays

Does anyone know of a product in the market that can check an email account and then close a relay contact if there are email present? Thanks John

View Article

baud

what is the highest baud I can get using a 16f876a at 20mhz I would like 57600 what numbers would i use

View Article

OT - MOSFET choice

Guys, I'm working on a project that uses a PCA9865 PWM chip, and ideally would like to drive a MOSFET (N channel) directly from the pins. The datasheet (if I've read it correctly) states that it can...

View Article


Image may be NSFW.
Clik here to view.

PIC Nixie Clock project

Hey Group, I am designing an adapter board to allow a 20 pin pic (like a 16F690 or 16F1828, etc) to take the place of an MSP430 processor. Why?? You might ask. Well I bought one of these...Attachment...

View Article


Easy way to do multiple write statements ?

Guys, need some advice as I'm currently brain dead trying to work out a solution to this issue. I'm working on a project that has multiple array variables to store times and PWM value (word). Three are...

View Article

serialout2 vs hserout

I can connect to a device using serialout2 at 9600 using 84 but how do I set the hserout to driven

View Article

UV sensor ML8511

Hi to all and Happy New year. Today I receive a UV sensor ML 8511. Watching his datasheet the output voltage is linear to intensity of the UV light. How to measured voltage convert into a UV index....

View Article

I can not a reading sensor lm35

I can not a reading sensor lm35 could someone help me out here the code I'm using I must read 4 sensor lm35 'USB CDC DEMO sample program for PIC18F4550 CDC serial port emulation 'Compilation of this...

View Article


DT_Interupts with 18F2525

Been trying to get RX_INT to work with 18F2525, I can get it with 18F1320 but I seem to be missing something. Any help would be great... Here is what I have Code:         INCLUDE "modedefs.bas"...

View Article

18F4550 issue with simple program.

I'm having a problem getting a really simple program to run on an 18F4550. It just a couple of blinky LED's to verify the PIC is alive. I can program it fine and read back from the device but cannot...

View Article


Image may be NSFW.
Clik here to view.

ws2812 - pic12f1822

driving a ws2812 using pgm mem to store a "palette" of rgb candle colour values for the led . idea is to emulate a flickering candle .The pgm sends a random colour from the pallet for a random duration...

View Article

Using an incremental rotary encoder?

I've never used one of these devices before. It has a resolution of 12 ppr. Please give me some advice on how to use the encoder. What command statement works best for reading the pulses? I'm guessing...

View Article


WRITE and DT-INTS

Hi I write data to the EEPROM with WRITE and are also using DT-INTS TMR1, but before i execute a write I disable TMR1 with Code: @ INT_DISABLE  TMR1_INT Is that the correct way to do it? I´m a little...

View Article

word larger numbers

I have to multiply a byte for the word fixed 10000, and then divide the result by the fixed word 312 (example 73x10000 / 312). How can i do this when the result of the multiplication exceeds the...

View Article

Image may be NSFW.
Clik here to view.

PICKIT 2 verification failed at memory address 0x0000

I have been using a "pic16f628A" The problem I am getting: Failed to verify at programming address 0x0000 (when I click the Verify button). Failed to program at programming address 0x0000 (when I click...

View Article
Browsing all 4787 articles
Browse latest View live