Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
baud rate to 1382400
void debug_serout_IO (unsigned int val) { int nbits; val <<= 1; // create a start bit in the data asm("sbi 0x18,0"); // ensure TX is high for (nbits = 0; nbits < 9; nbits++) { if ((val & 0x01) == 0x01) // test LSB hi/lo asm("sbi 0x18,0"); // set/clear PORTB:0 according else // to the bit level of the LSB asm("cbi 0x18,0"); delay (); val >>= 1; } asm("sbi 0x18,0"); // ensure TX is high delay (); // stop bit}
Should I give a character directly to that function and it will transmit it like serial?
And will it work well with a string, will it be the same?
And one more thing how do I define which pin is going to output it?
Should I try to make a soft uart with that rate using the webbotlib instead of that?
Seems odd that someone would create a device that didn't have a stable config mode interface.
How can i check if the data is coming out right?
And first of all how can I know the address of a pin
there are 2 delays are they going to wait the same time?
I cant seem to get a valid signal
When I short the rx and tx on the bluetooth dongle and connect through bluetooth I can get a reading back from the bluetooth