Search Engine

rb6 And rb7

Add Question

40 Threads found on rb6 And rb7
hello What about an ICSP connector ? rb7,rb6,,Gnd,VDD,VPP(MCLR) could be usefull .. Enough Space around male pins for direct inserting Pickit2 or Pickit3 on ICSP connector.
The document DS31028A page28-4 Figure 28-1 contains a diagram for connections of a "typical ICSP application circuit". It shows how ICSP is to be connected to a PIC. It shows connections for MCLRn/Vpp, VDD, VSS, rb6 and rb7. I have the following questions: (1) How are
Here is the code for pic18f4580 #include #include #include /* #define RS rb6 #define EN rb7 #define D0 RC0 #define D1 RC1 #define D2 RC2 #define D3 RC3 #define D4 RC4 #define D5 RC5 #define D6 RC6 #define D7 RC7 */ #include "lcdtest2.h" void main() { int i; //char str;
MASTER IC - PIC18F4520 SLAVE IC - 24C04 (EEPROM IC 4Kbytes memory I2C interface) LCD using in 4 bit mode data lines of LCD connected to PORTB(rb7 To RB4) db7-rb7 db6-rb6 db5-RB5 db4-RB4 en-RD2 rw-RD1 rs-RD0 bl-RD3 master ic sends data "ABC" to eeprom ic and while receiving same data from eeprom ic, master (...)
I have completed rotary encoder configuration to toggle led to other pin of pic32mx575f256h. in given datasheet (diagram is below ) i have configure micro controller pin no. 2 & 3 (RE6 and RE7) to the encoder. and output to pin no.64 % 63 (RE3 and RE4). every thing working right. but when i chenged encoder to pin no. 17 & 18 (...)
oops ! programmed pic rb6 and rb7 pins as outputs and now I can't program the PIC any more. Anyway, that is the way it seems. It seemed like I was able to program with the PICKIT 3 even after this but the program never seemed to run right. Now the PICKIT3 won't even recognize the DEVICE ID. Dan
- - Updated - - - #include //triac light dimmer #define _XTAL_FREQ 20000000 #define TRIAC1 RB3 #define UP rb7 #define DWN rb6 #define MAX_TIM
Couple of quick questions: 1. Are you compiling the code with the Build Configuration selected as Debug? Or Release? 2. Could there be any connection conflicts with rb6 and rb7? Can you provide a schematic? 3. What version of MPLAB and C18 compiler are you currently using? 4. Is the PICkit genuine or a (...)
and this is the topic in french : Ce montage d'initiation ? base de PIC 16 C 84 est une simulation d'un pont roulant. Le port B est configuré de RB0 ? RB4 en sortie et RB5 ? rb7 en entrée. Le port A est configuré en entrée. * Bouton poussoir 'marche' -> RA0 * Bouton 'Arr?t d'urgence' -> RA1 * Bouton poussoir 'descente' -> RA4 * B
Referece: PIC16F84A Datasheet, TABLE 1-1: PIC16F84A PINOUT DESCRIPTION, pg 4, rb6 is PGC, rb7 is PGD, Vss is GND, Vdd is Vcc although not needed, MCLR is marked accordingly and PGM is not needed. The ICSP Appnote available on Microchip's website is also a good reference. Also check out the following tutorials: [URL="
Hi, rb6 and rb7 are used as standard digital pins without any special needs. If you want to use them with Debugger, then they must be dedicated to the ICD2 with no other hardware connected; your program code should not address those pins. If you want to use them as ICSP pins you may also be able to have some i/o (...)
You won't be able to debug your project if your programming pins(rb6 and rb7) are used somewhere else.
I've changed a lot in the code. It's kinda messy, but I fixed the errors. :smile: list p=16f877 #include "" ; LP Oscillator between OSC1 OSC2 pins ; Watchdog timer is off ; All code protection is off ; Brown-Out Reset is enabled ; EEPROM data protection is off ; Write to EEPROM enabled ; ICD is off, rb6 and rb7 are GPIO __conf
...i can use my rb6 and rb7 as TX and RX pins...?? will this produce any interrupts?... On PIC16F877 core, rb6/rb7 pins already supports interrupt feature, due built-in UART module have this function mapped on SFR register. However, in order to provide interrupt capability to softuart (...)
Hi vinodstanur, as our friend thannara123 is a beginner in programming, use the "code" tags for formating the code, it's easier to read and figure out parts of it, like below. #include __CONFIG(0x3F3A); #define _XTAL_FREQ 20e6 #define reset rb7=1;rb7=0; #define clock rb6=1;rb6=0; char (...)
RB4/RB5/rb6/rb7 are all interrupt on change pins, see page 150 in the datasheet for more information. I am not sure which port relates to which interrupt flag but you should be able to determine this in software by triggering the interrupt and then checking which flag has changed state. Hope this helps. /Pete
sir, I am new in pic programming.I am using pic 16f877a crystel-20mhz and connected led portb (this is out put).i am using timer0 delay for led on off (rb7,rb6 connected led).iam using mplab icd3 for programming.This my timer0 first program please help me
Hi! everybody.I want to write a program with mikroC PRO V2.5 so that I can use the interrupt on change PORTB; RB4,RB5,rb6,rb7 features.I use 4 push buttons on pins; RB4(K4),RB5(K5),rb6(K6),rb7(K7) and 4 LEDs' on pins;(respectively) RC4(LED1),RC5(LED2),RC6(LED3),RC7(LED4);I want if each key pressed(K4 to (...)
Hello How to program PIC16F876 with this programmer below I need circuit wiring,can somebody help me? Regards too all I don't know whether it works or not, the same connection can be used with PIC16 controllers. Check the datasheet for pinout of PIC16F876. U have to connect rb6,rb7,MCLR,VDD and VSS (Same connectio
Hello everyone, I have the following problem: I have many buttons as an input connected to pin RB0 RB1 RB2 RB3 RB4 RB5 rb6 rb7 and led in pin RD0 RD1 how to change the interrupt state is not detected? #define PIC_CLK 4000000 #include __CONFIG(1, HS); //for freq>8Mhz and <20Mhz, use XT instead of HS for (...)