In this photo you can see the AFM ( air flow meter ) as the "U" shaped black spot in the center of the photo. The black cover peels off to reveal the inner workings. All of the airflow from the air cleaner goes through the AFM. The air cleaner is under the AFM.
Debris is silicon sealant that I started scraping off the cover
There is a black arc the wiper travels on as AFM flap rotates.
There is a switch ( upper right ) that closes when the AFM rotates.
Below are some photos of the ECU ( engine control unit ) located under the passengers feet.
tags: 777miataEngine 777miataidling