Thank you for your kind words Angel. I am glad to be able to contribute something back to the community. Feel free to add this AIP650 library to the include folder of future GCBasic releases.
I recently bought a cheap 4 x 7 segment display module (DM43B04) based on the AIP650 chip. There seems to be no documentation online for the GCBASIC community so I have written a library for the module. Demo code is included in the attached library along with detailed commenting of each section. The AIP650 chip has onboard pull-up resistors and is connected to the i2c bus. It does not use a conventional i2c address and my attempts to run the i2c discovery program produced a garbage output in the...
I recently bought a cheap 4 x 7 segment display module (DM43B04) based on the AIP650 chip. There seems to be no documentation online for the GCBASIC community so I have written a library for the module. Demo code is included in the attached library along with detailed commenting of each section. The AIP650 chip has onboard pull-up resistors and is connected to the i2c bus. It does not use a conventional i2c address and my attempts to run the i2c discovery program produced a garbage output in the...
Here is some code that has been tested for configuring the ADS1115 ADC chip connected to an 18F13K22 running @ 64Mhz. It is assumed that the address pin on the ADS1115 chip is grounded. Refer to the datasheet for more details on what each of the 16 configuration bits in register #1 are used for. The datasheet is a bit tricky to decipher but the configuration below works fine HI2CMode Master #define HI2C_BAUD_RATE 125 ' #define HI2C_DATA PORTB.4 ;18F13K22 family #define HI2C_CLOCK PORTB.6 ;18F13K22...
Here is some code that has been tested for configuring the ADS1115 ADC chip connected to an 18F13K22 running @ 64Mhz. It is assumed that the address pin on the ADS1115 chip is grounded. Refer to the datasheet for more details on what each of the 16 configuration bits in register #1 are used for. The datasheet is a bit tricky to decipher but the configuration below works fine HI2CMode Master #define HI2C_BAUD_RATE 125 ' #define HI2C_DATA PORTB.4 ;18F13K22 family #define HI2C_CLOCK PORTB.6 ;18F13K22...
Here is some code that has been tested for configuring the ADS1115 ADC chip connected to an 18F13K22 running @ 64Mhz. It is assumed that the address pin on the ADS1115 chip is grounded. Refer to the datasheet for more details on what each of the 16 configuration bits in register #1 are used for. The datasheet is a bit tricky to decipher but the configuration below works fine HI2CMode Master #define HI2C_BAUD_RATE 125 ' #define HI2C_DATA PORTB.4 ;18F13K22 family #define HI2C_CLOCK PORTB.6 ;18F13K22...
Here is some code that has been tested for configuring the ADS1115 ADC chip connected to an 18F13K22 running @ 64Mhz. It is assumed that the address pin on the ADS1115 chip is grounded. Refer to the datasheet for more details on what each of the 16 configuration bits in register #1 are used for. The datasheet is a bit tricky to decipher but the configuration below works fine HI2CMode Master #define HI2C_BAUD_RATE 125 ' #define HI2C_DATA PORTB.4 ;18F13K22 family #define HI2C_CLOCK PORTB.6 ;18F13K22...
Here is some code that has been tested for configuring the ADS1115 ADC chip connected to an 18F13K22 running @ 64Mhz. It is assumed that the address pin on the ADS1115 chip is grounded. Refer to the datasheet for more details on what each of the 16 configuration bits in register #1 are used for. The datasheet is a bit tricky to decipher but the configuration below works fine HI2CMode Master #define HI2C_BAUD_RATE 125 ' #define HI2C_DATA PORTB.4 ;18F13K22 family #define HI2C_CLOCK PORTB.6 ;18F13K22...