why? It shouldn't be. Like 12, 45, 123, 4323 etc, 00 it's only a number, it's zero, what's the difference when it is written 0x00 or 00 or 00000 or 0000000 etc.
Hello friends. Look please at the following pictures. When I pass a 00 as parameter in i2csend as plain decimal number i have a compiler error. When i pass it as a hex 0x00 all is ok.
Hello friends. Look please at the following pictures. When I pass a parameter in i2csend as plain decimal number i have a compiler error. When i pass it as a hex all is ok.
Interesting. Thanks a lot
And from me all well setup. Although I had to uninstall the old one
Yesterday tried this with a 12f675. It works! no need for pullups, just turn off the chip's option_reg.7 ! ;Chip Settings #chip 12F675,4 #option explicit dim p_w as byte ' Define I2C settings #define I2C_MODE master #define I2C_DATA GPIO.4 #define I2C_CLOCK GPIO.5 #define I2C_DISABLE_INTERRUPTS ON #define I2C_BIT_DELAY 20 us #define I2C_CLOCK_DELAY 30 us **OPTIONREG.7 = 0** Do Forever for p_w = 0 to 255 repeat 100 I2CStart I2CSend p_w i2cstop wait 10 ms end repeat next Loop
Any support (libraries or code) for SX1278 Lora programming? Simple code please, as to make it transmit or receive mode in full power and how to reflect a pin ON or OFF from transmitter to receiver
Any libraries or code for SX1278 Lora programming? Simple code please, as to make it transmit or receive mode in full power and how to reflect a pin ON or OFF from transmitter to receiver