Mittels DigitalOut kann eine Positive Spannung an einem Pin erzeugt werden.

Dependencies:   mbed

DigitalOut

Mittels DigitalOut kann eine Positive Spannung an einem Pin erzeugt werden.

Das nachfolgende Beispiel bringt die LED an D10 zum blinken.

Anwendungen

  • Ansteuerung von LEDs, z.B. für Taschenlampe, Kultpfunzel , Fernsehsimulator, Kleidung , Statusanzeigen etc.
  • 2 DigitalOut für die Richtungsbestimmung bei Motoren
  • 4 DigitalOut für die Ansteuerung von Schrittmotoren

makefile

Committer:
marcel1691
Date:
2015-08-16
Revision:
1:f34e64ce9873

File content as of revision 1:f34e64ce9873:

# Copyright 2015 Adam Green (http://mbed.org/users/AdamGreen/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PROJECT         := DigitalOut
DEVICES         := MCU_K64F
NO_FLOAT_SCANF  := 1
NO_FLOAT_PRINTF := 1
MBED_LIBS       := 

include $(GCC4MBED_DIR)/build/gcc4mbed.mk