I do like the idea of being able to communicate between bvserial and PSPad, sending scripts etc. makes life so much easier but.. I got fed up having to switch between the two to run my recently uploaded code - there must be an easier way.. So I came up with: Name your main function bvMain Add the following to ByPic\edit\Script\VBScript\bypic.vbs file: 'Run bvMain when Shift+F5 pressed sby Acuario - Projects
It saves a lot of wiring and a lot of precious i/o pins :-)by Acuario - Serial & I2C Devices
Hi, for anyone who may find this useful the code below is for driving a 2 line 16 character lcd display using an i2c interface based on the PCF8574 8 bit i/o expander. // Driver code for 1602 LCD using i2c interface // Default A0=A1=A2=0 giving I2C address = 0x20 // P0 = LCD D4 // P1 = LCD D5 // P2 = LCD D6 // P3 = LCD D7 // P4 = LCD E // P5 = LCD R/W // P6 = LCD RS // P7 = LCD backlby Acuario - Serial & I2C Devices