void main(void) = (1 << 0); // Set mode register 0 (output) P1M1 &= ~(1 << 0); // Clear mode register 1 (push‑pull)
The FC1178BC is essentially a “classic” 8051 MCU with a few modern peripherals and a generous flash size for its class. Its low cost (often <$1 in bulk) makes it popular with hobbyists and small‑volume manufacturers. | Use‑Case | Why FC1178BC? | |----------|---------------| | Simple sensor node | Small flash + ADC, low power consumption | | Infrared remote control | Built‑in PWM for LED drivers, UART for debugging | | DIY hobby projects | Cheap, widely available, supported by open‑source toolchains | | Prototype of a commercial product | Pin‑compatible with many 8051 families, easy migration to larger FirstChip families later | firstchip fc1178bc link download
#include "fc1178bc.h" // Header provided by the SDK void main(void) = (1 << 0); // Set
#define LED_PIN P1_0 // Example: Port 1, bit 0 | |----------|---------------| | Simple sensor node | Small
while (1) LED_PIN = 0; // Turn LED ON (active‑low on many boards) delay_ms(500); LED_PIN = 1; // Turn LED OFF delay_ms(500);
Over 1,200 of the highest quality questions based on the new RCPCH syllabus. This resource is ideal for those seeking to pass the theory component of the internationally recognised DCH.
Over 2,600 questions will provide optimal revision for your combined FOP & TAS exam. You will have the opportunity to compare your performance to your colleagues, do timed tests and focus your revision.
Due to high levels of interest, this bank of questions is currently in progress.