I am using the F4152 microcontroller.The slave address of my I2C device is 0xa0.I wrote 0xa0 into the UCB0I2CSA register.After sending the slave address, the I2C device could not receive it.Later, aft...
[i=s]This post was last edited by qwqwqw2088 on 2018-7-26 08:24[/i] [size=4] At low frequencies, the impedance of circuit nodes in a system can vary greatly; this requires some circuit or experimental...
The current method is to directly connect the voltage to be sampled to the analog input of the microcontroller, so the measured voltage value fluctuates greatly. Let's see if anyone has any good solut...
[size=5]How should the CAN module remote frame be configured? Some people on the Internet say that it can be configured to receive. How should the specific configuration be performed? [/size]...
/** * 18B20 write 1 byte function * Write a byte to 1-WIRE bus */ void write_byte(unsigned char val) { unsigned char i; for (i=0; i>=1; not shifted left? Isn't it moving from the low bit to the high b...