データの保存、更新、取得ができるWebサービス「milkcocoa」に接続し、データのプッシュ、送信、取得ができるライブラリです。 https://mlkcca.com/

Dependencies:   MQTT

Dependents:   MilkcocoaSample MilkcocoaSampleESP8266_LED MilkcocoaSampleESP8266 MilkcocoaSample_3G ... more

Revision:
1:4a634c06c5dc
Parent:
0:23e533c4b1ec
Child:
2:9afb66979712
--- a/SoftSerialSendOnly/SoftSerialSendOnry.cpp	Tue Dec 15 09:56:32 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#include "SoftSerialSendOnry.h"
-
-SoftSerialSendOnry::SoftSerialSendOnry(PinName TX, const char* name) {
-    tx_en = false;
-    if (TX != NC) {
-        tx = new DigitalOut(TX);
-        tx_en = true;
-        tx->write(1);
-        tx_bit = -1;
-        txticker.attach(this, &SoftSerialSendOnry::tx_handler);
-    }
-    
-    baud(9600);
-    format();
-}
-
-SoftSerialSendOnry::~SoftSerialSendOnry() {
-    if (tx_en)
-        delete(tx);
-}
-
-void SoftSerialSendOnry::baud(int baudrate) {
-    bit_period = 1000000 / baudrate;
-}
-
-void SoftSerialSendOnry::format(int bits, Parity parity, int stop_bits) {
-    _bits = bits;
-    _parity = parity;
-    _stop_bits = stop_bits;
-    _total_bits = 1 + _bits + _stop_bits + (bool)_parity;
-}
-
-int SoftSerialSendOnry::_getc()
-{
-    return(0);    
-}
\ No newline at end of file