Pages: 1 ... 5 6 [7]   Go Down
Author Topic: i2c Pressure Sensor  (Read 9770 times)
0 Members and 1 Guest are viewing this topic.
Halifax, Canada
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Don't anthropomorphize computers. They hate that.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Another question relating to Arduino's Digital Pin 11, which is used to drive the MCLK on the HP03: I want to use the liquidcrystal library, which uses pin 11 for LCD Enable.

The frequencytimer2 page in the Playground says that (if it's running on an atmega168) this library uses pin 11 and pin 3. I've looked at the frequencytimer2.cpp code to see if there is any mention of pin allocations but if it's there, it's not in clear text. Simply changing the pin in HP03.cpp from 11 to 3 doesn't seem to work.

I'm wondering if this is a case of diminished returns--should I just rig up a 32kHz 555 timer and be done with it?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 617
Posts: 49463
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The LiquidCrystal library uses ANY 6 pins. No need to work around any special pins. Just plug the LCD into 6 pins, and tell the library WHICH 6 pins you used.
Logged

Pages: 1 ... 5 6 [7]   Go Up
Jump to: