Search found 45 matches
- 28 Aug 2021 15:18
- Forum: mikroC PRO for PIC General
- Topic: Need to use regular keyboard and monitor for input+output with PIC18F45k22 mcu
- Replies: 5
- Views: 1037
- 04 Aug 2021 15:21
- Forum: mikroC PRO for PIC General
- Topic: Need to display output from pic12f675 to computer monitor
- Replies: 3
- Views: 828
Re: Need to display output from pic12f675 to computer monitor
With the PIC16F1840 I use the internal UART regularly. The internal oscillator at 32 MHz and the baud rate at 115200, it always works perfectly.
Unfortunately the PIC16F675 has the internal 4 MHz oscillator which is not very accurate and does not have UART.
Unfortunately the PIC16F675 has the internal 4 MHz oscillator which is not very accurate and does not have UART.
- 04 Aug 2021 10:45
- Forum: mikroC PRO for PIC General
- Topic: Need to display output from pic12f675 to computer monitor
- Replies: 3
- Views: 828
Re: Need to display output from pic12f675 to computer monitor
If you want to use a virtual UART you have to quartz the PIC.
If you send the value of the quartz, I attach a simple routine that allows you to view on a PC terminal what is sent by the PIC. It is not possible to receive commands from the PC.
If you send the value of the quartz, I attach a simple routine that allows you to view on a PC terminal what is sent by the PIC. It is not possible to receive commands from the PC.
- 30 Jul 2021 09:12
- Forum: mikroC PRO for PIC General
- Topic: PWM manually setting
- Replies: 6
- Views: 1242
Re: PWM manually setting
if you go to the table of page 8 of the datasheet, you see all the connections of the modules of the PIC with the internal pins. Half Bridge of PWM 1 is connected to pin RC2 (P1A) and to RB2 (P1B), not to RC1 and RC2. So: TRISB = 0b11111011; TRISC = 0b11111011; CCP1CON = 0b10001100; // Half-Bridge o...
- 29 Jul 2021 10:31
- Forum: mikroC PRO for PIC General
- Topic: PWM manually setting
- Replies: 6
- Views: 1242
Re: PWM manually setting
CCP1CON = 0b00111100; for PWM!
- 07 May 2021 17:38
- Forum: mikroC PRO for PIC General
- Topic: RDA5807M FM Receiver Help to Build Library <SOLVED>
- Replies: 9
- Views: 3596
Re: RDA5807M FM Receiver Help to Build Library
I hope you like it.
- 07 May 2021 09:42
- Forum: mikroC PRO for PIC General
- Topic: RDA5807M FM Receiver Help to Build Library <SOLVED>
- Replies: 9
- Views: 3596
Re: RDA5807M FM Receiver Help to Build Library
Hi Leo73, a few years ago I made some prototypes with the RDA5807. The first uses the PIC16F1829 and Nokia 3310 LCD, receiver complete with SEEK programming, stereo / mono, AFC, bass, etc. With RDS. The second, without programming, uses a PIC12F1840 (the PIC12F1822 is fine too) and OLED 0.99 inc. If...
- 01 May 2021 11:38
- Forum: mikroC PRO for PIC General
- Topic: ESP8266 serial WIFI wireless module wireless transceiver
- Replies: 49
- Views: 45296
Re: ESP8266 serial WIFI wireless module wireless transceiver
Thanks Leo73 for advertising my site (without advertising!).
For me the most interesting part of the project concerns the dynamic variables. Information, colors, and more are changed with the status of events. The tutorial in Italian is available.
For me the most interesting part of the project concerns the dynamic variables. Information, colors, and more are changed with the status of events. The tutorial in Italian is available.
- 14 Feb 2021 10:33
- Forum: mikroC PRO for PIC General
- Topic: PIC18FxxQ series still not supported
- Replies: 2
- Views: 799
Re: PIC18FxxQ series still not supported
I agree with paulfjujo.
Unfortunately, free MPLAB X wastes flash memory disproportionately but at the moment we can't do without it ...
Unfortunately, free MPLAB X wastes flash memory disproportionately but at the moment we can't do without it ...
- 07 Feb 2021 09:50
- Forum: mikroC PRO for PIC General
- Topic: Controlling an SSD1306 OLED display with 12F683?
- Replies: 23
- Views: 4410
Re: Controlling an SSD1306 OLED display with 12F683?
Thank you, I don't deserve them.
The PIC16F1825 uses the hardware module, SCL = pin 10 (RC0), SDA = pin 9 (RC1).
You can use the PIC12 library and choose any PIC pins for supported functions.
The PIC16F1825 uses the hardware module, SCL = pin 10 (RC0), SDA = pin 9 (RC1).
You can use the PIC12 library and choose any PIC pins for supported functions.
- 06 Feb 2021 16:08
- Forum: mikroC PRO for PIC General
- Topic: Controlling an SSD1306 OLED display with 12F683?
- Replies: 23
- Views: 4410
Re: Controlling an SSD1306 OLED display with 12F683?
Library with example updated. Added "void Write_Double_String (const char * string, char Page, char column, char comma_pos)" writes in double height with the ability to write in reverse and add a comma if used to display numbers. See examples on the "main" function. If you only use double height, th...
- 06 Feb 2021 14:54
- Forum: mikroC PRO for PIC General
- Topic: Controlling an SSD1306 OLED display with 12F683?
- Replies: 23
- Views: 4410
Re: Controlling an SSD1306 OLED display with 12F683?
void Put_Char_16x10(char character, unsigned char colonna, unsigned char Page)
Only one character at a time.
Only one character at a time.
- 05 Feb 2021 11:00
- Forum: mikroC PRO for PIC General
- Topic: Controlling an SSD1306 OLED display with 12F683?
- Replies: 23
- Views: 4410
Re: Controlling an SSD1306 OLED display with 12F683?
Glad you enjoyed it.
As for the version for PIC16F1825 you find the hex file in the package.
As for the version for PIC16F1825 you find the hex file in the package.
- 04 Feb 2021 14:17
- Forum: mikroC PRO for PIC General
- Topic: Is this a bug or an (un)intentional mistake?
- Replies: 9
- Views: 1738
Re: Is this a bug or an (un)intentional mistake?
As paulfjujo writes, it is the position of the letter 'E' in RAM memory.
Click on "view statistics" then on "variables". At the "txt" variable you read the memory location assigned to the first character of the message. Increase by 5 and find the return value from the function.
Click on "view statistics" then on "variables". At the "txt" variable you read the memory location assigned to the first character of the message. Increase by 5 and find the return value from the function.
- 04 Feb 2021 11:43
- Forum: mikroC PRO for PIC General
- Topic: Need MikroC demo program for PIC18F4520 to drive ss1308 oled I2C
- Replies: 4
- Views: 977
Re: Need MikroC demo program for PIC18F4520 to drive ss1308 oled I2C
Maybe I'm wrong...