Byte array and bitwise operator for LCD lcruz007 wrote:I have even tried some other operations with arrays (just to try to get the correct results) and it's the same always. It's like "if ((bitmap[i] >> p) & 1...
not entering for loop Oops!
I m late
I was beautifying my code!
anyway I hope useful
Cheers
Sunday, 4 February 2018 - 18:35
not entering for loop I tried myself to implement the idea described in #31 and #32
Not tested!
char graph[49][7]; //49*7 bytes = 49*56 bits
void write_graph (char i, char j, char d)
{
char...
ATmega reset pin protection diode Choosing the right value for protection diode / cap on reset is not as simple as it seems
.
As in AN2519 and mentioned at #7 it depends on your requirements
.
They need to be...
Friday, 2 February 2018 - 18:07
keypad if you want to read pins of port, your definition of c1, c2, c3, c4 are wrong:
#define c1 PORTB.4
...
.
You should use PINx to read pins:
#define c1 PINB.4
...
.
follow #2 and #3
Wednesday, 31 January 2018 - 17:01
Xtiny accuracy of 20MHz intern clk sparrow2 wrote:Have anyone measured the speed?
I did test using factory stored calibration
I did not use SIGROW.OSC
ATtiny816-MNR
Vcc 5 V
20MHz
UART...
Tuesday, 30 January 2018 - 07:52
ATtiny4313 USART issue after some days. #1
chetanhiremath wrote: using USART to display few commands on terminal, immediate after code everything will be working fine i will be getting commands on terminal but after...
There are SMD types like: . BLM31PG121SN1L 1206 footprint 120 ohm @ 100MHz 20 mili ohm DC 3.5A . https://www.digikey.com/product-detail/en/murata-electronics-north-america/...
Maybe it is because of "const" Try unsigned char bitmap[] İnstead of const unsigned char bitmap[]
lcruz007 wrote:I have even tried some other operations with arrays (just to try to get the correct results) and it's the same always. It's like "if ((bitmap[i] >> p) & 1...
lcruz007 wrote: I AM ALWAYS GETTING THIS AS TRUE How did you establish? . Code seems true
There is an issue inside "ISR(USART0_RXC_vect)" routine, you aim to reset index after receiving '\n' . But the next "if (UARTRXBufferIndex...
Oops! I m late I was beautifying my code! anyway I hope useful Cheers
I tried myself to implement the idea described in #31 and #32 Not tested! char graph[49][7]; //49*7 bytes = 49*56 bits void write_graph (char i, char j, char d) { char...
Great, I was planning to buy 1, Now maybe 2 !
Choosing the right value for protection diode / cap on reset is not as simple as it seems . As in AN2519 and mentioned at #7 it depends on your requirements . They need to be...
if you want to read pins of port, your definition of c1, c2, c3, c4 are wrong: #define c1 PORTB.4 ... . You should use PINx to read pins: #define c1 PINB.4 ... . follow #2 and #3
sparrow2 wrote:Have anyone measured the speed? I did test using factory stored calibration I did not use SIGROW.OSC ATtiny816-MNR Vcc 5 V 20MHz UART...
#1 chetanhiremath wrote: using USART to display few commands on terminal, immediate after code everything will be working fine i will be getting commands on terminal but after...
Pages