What kind of cams? If they are aftermarket and on the radical side, you probably just need some tuning. Other things that could make it run really rich are the throttle position sensor (TPS) and manifold abs. pressure (MAP) sensor. The coolant temp sensor could also have a hand in it. You can look up the trouble code yourself, if you have an OBD0 (88-91 ECU) car, there will be a two sets of flashes. The first is the tens place, and the second is the ones place. The tens will flash out slowly, pause, and then the ones will flash out quicker. For example, 3 slow flashes then 4 fast flashes would be a code 34. If you're only getting fast flashes, you have a single digit code like code 7 or something. I'm pulling these out of my ass for sake of illustration.
The OBD0 and OBD1 codes should be the same, and here they are..
1 O2A - Oxygen sensor #1
2 O2B - Oxygen sensor #2
3 MAP - manifold absolute pressure sensor
4 CKP - crank position sensor
5 MAP - manifold absolute pressure sensor
6 ECT - water temperature sensor
7 TPS - throttle position sensor
8 TDC - top dead centre sensor
9 CYP - cylinder sensor
10 IAT - intake air temperature sensor
12 EGR - exhaust gas recirculation lift valve
13 BARO - atmospheric pressure sensor
14 IAC (EACV) - idle air control valve
15 Ignition output signal
16 Fuel injectors
17 VSS - speed sensor
19 Automatic transmission lockup control valve
20 Electrical load detector
21 VTEC spool solenoid valve
22 VTEC pressure valve
23 Knock sensor
30 Automatic transmission A signal
31 Automatic transmission B signal
36 traction control found on JDM ecu's
41 Primary oxygen sensor heater
43 Fuel supply system
45 Fuel system too rich or lean
48 LAF - lean air fuel sensor
54 CKF - crank fluctuation sensor
58 TDC sensor #2
61 Primary oxygen sensor
63 Secondary oxygen sensor
65 Secondary oxygen sensor heater
71 random misfire cylinder 1
72 random misfire cylinder 2
73 random misfire cylinder 3
74 random misfire cylinder 4
80 Exhaust Gas Recirculation insufficient flow detected
86 ECT Sensor (Engine Coolant Temperature) circuit range / performance problem
90 Evaporative Emission Control System leak detected in the fuel tank area
91 Fuel Tank Pressure Sensor low input
92 Evaporative Emission Control System insufficient purge flow
By the way, smoking is bad..