Pressure-Sensor-SPI is a project mainly written in ..., it's free.
Maple Language Implementation of an SPI based Intersema Pressure Sensor
Purpose of this library is to let communicate:
Models that can be used are:
Most of the library is based on application note AN501.pdf downloadable via Intersema website.
Note: Two parameters need to be checked or adjusted in the configuration of Maple SPI module:
Since this is my first library, i'm copying almost everything from other repos :-)
I don't understand if i'll use an hard and software SPI for communication because i don't know the difference :)
???????????????? If hardware SPI is used the pins SCLK and DN(MOSI) must be on pin 13 and 11 and pin 10 must (and is) set to output on Arduino. Same pins for SPI1 on Maple and pins 34 and 32 for SPI2 (untested). ???
Serial clock is ???? 4.5 for Maple (2.25 for SPI2? Fix?)
????????????????????????????????????????????????? If software SPI is used you can chose any pins for the display. The sluggish shiftOut is used for soft SPI, serial clock is about 66kHz on Arduino and 534 kHz on Maple.
???????????????????????????????????????????????????????? In the examples the lcd is connected as:
LCD Arduino/Maple 8-LED 220ohm resistor to 5V or 22ohm to 3V3 7-SCLK 13 (sclk_pin) 6-DN(MOSI) 11 (sdin_pin) 5-D/C 5 (dc_pin) 4-RST 6 (reset_pin) 3-SCE 7 (cs_pin) 2-GND GND 1-VCC 3V3 (NOT 5V!)