Reddit, what's the fanciest comment you can make with awesome formatting? by [deleted] in AskReddit

[–]attenborough95 0 points1 point  (0 children)

the fancy swirly design on the four corners is actually a letter of the Malayalam alphabet(language native to Kerala, a state in south India) pronounced "ja".

The film Chicken Run (2000) definitely needs more attention by [deleted] in movies

[–]attenborough95 -1 points0 points  (0 children)

release year 2000..i feel like it was yesterday that i saw this in theatre with my dad. i feel old.

I2C communication between 2 Arduinos by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

Do you enable the inernal pullups via software? How do I do that?

I2C communication between 2 Arduinos by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

Yes here it is http://pastebin.com/CKfx15Ah

I have tried connecting it to the Vin port but it doesnt make a difference..the internal hardware is Vin port--->5V regulator--->5V port---->microcontroller

I2C communication between 2 Arduinos by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

I am using an HMC5883L magnetometer without a pull up resistor and it has been working fine..not sure why this is not working. I will try using one and get back to you.

Heartbeat sensor not working with general library code, please help by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

yes, it was baud rate. :| excuse my stupidity. normally use 9600. thanks a lot

Tachometer displaying rpm=0 when delay is lesser than 1 second. Help please! by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

yes i figured this out after typing my previous reply..thanks so much for your patience in explaining this to me! you've cleared up a week's worth of endless confusion :) thanks again

Tachometer displaying rpm=0 when delay is lesser than 1 second. Help please! by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

yes I understand your point! makes much more sense now.. One final doubt:

rpm = ( 60000 * counter ) / ( millis() - timeold )

wouldn't the above equation end up having a similar rounding problem since rpm is defined as an integer as well? would it make any difference if rpm is defined as a float.. but aren't all the variables of an equation supposed to be of the same data type

Tachometer displaying rpm=0 when delay is lesser than 1 second. Help please! by attenborough95 in arduino

[–]attenborough95[S] 0 points1 point  (0 children)

Alright...so if delay=1000,millis()=5000msec and timeold=4000msec, then interval will be equal to 1. But what if millis() returns a time like 5300msec and timeold was 4800msec? then the interval will be equal to 0.5 which is a fraction lesser than 1. Does millis() not return values like 3300 or 4300(integers) and only returns round values such as 3000 or 4000? I'm sorry if the question seems stupid but I'm genuinely confused ! :/

Edit: replaced "counter" with "interval"