In this paper, we propose a new ubiquitous computing environment composed by visual markers and event-driven compact devices. We employ the VCC (Visual Computer Communication) method, which we have already proposed as an information displaying method for visual markers. In the VCC method, a marker is composed of multiple tiles whose color changes at a certain interval of time, by which the marker can send dozens of bytes of information. In our research, to enhance the facility of VCC markers, we use rule-based compact devices to process various types of data and to change information shown in a VCC marker dynamically. The combination of VCC markers and compact devices enables various services such as the presentation of real-world information collected by compact devices and control of appliances via compact devices.