We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2013/09/26 03:18:33 PM CEST
Hi! Im some new here!
I have a problem with the PCF8574 I/O Expander.
To write to the expander is easy!
But i can't read from the I/O-expander...
Thera are 8 pull-up resistors (10k) on the 8 input switches)
I have transform de c-code for the RTC-clock (PCF8583)
I2C1_Init(100000); //Init I2C with desired clock
{
I2C1_Start(); // issue I2C start signal
I2C1_Wr(0b01001110); // send byte via I2C (device address + W) A0-A1-A2 = 1
I2C1_Repeated_Start(); // issue I2C signal repeated start
I2C1_Wr(0b01001111); // send byte (device address + R)
PORTB = I2C1_Rd(0); // Read the data (NO acknowledge) to PORTB (8 x LED)
I2C1_Stop(); // issue I2C stop signal
}
Can you help mee?
Thanks
posted on 2013/09/21 10:28:46 PM CEST
Hi! Im some new here!
I am writing because i need to stablish communication between a S7-1200 Siemens, and a pic 18f45k22.
so what i need to know is, how to stablish that communication using MODBUS RTU over RS-485!
I am requesting the knowledge for do this!
books, links to webpages or things like that, i need the knowledge!
Please!
have a nice day!
posted on 2013/09/20 03:40:57 AM CEST
Hi Guys,
If anyone enjoys tinkering with devices, I wold appreciate assistance with getting a boot loader working that is compatible with the above two devices when using the Mikro C bootloader.
The PIC16F6410 is a 64 PIN TQFP, so I will supply PCB for free for testing if required and must work with 20MHZ crystal.
posted on 2013/09/18 03:30:23 PM CEST
I would like to find a driver who is working, I can't use my easypic5 wih the port com !
posted on 2013/09/16 02:41:23 AM CEST
I am looking for example code for the following: EasyPIC 6 and EasyPIC 7.
I need example code for working with the serial LED boards, LED's and code to interface a project to
control relays, and code to connect my PIC to a PLL IC (5 and 8 volts).
I am looking for anything that will help get me started with the above 2 development boards.
Thank you in advance!