Jump to content

Search the Community: Showing results for tags 'SerialPortX'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace

Categories

  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, I am using the SerialPortX add-on for applescripts. Basically what I want is for the script to control volume on my mac based on output from an Arduino (thus the need for SerialPortX). The output from Arduino is sent as characters. As of right now, the letter "A" is sent form the Arduino to the computer to increase the volume and the number "0" to decrease Volume. The characters themselves can be changed, but I will need to add a few more characters to increase functionality (play/pause, next song, previous song, etc). I need help/the code on how to read the output from the Serial port. Thanks in advance set use_port to "/dev/cu.usbserial-AE01EC89" on idle if (get serialport list) contains use_port then set myPort to serialport open use_port bps rate 9600 data bits 8 parity 0 stop bits 1 handshake 0 if myPort ≠ -1 then -- check the port opened correctly serialport close myPort end if end if return end idle
×