cleanSharesDevice :: String -> Task [MTaskShare]
updateShare :: Int BCValue -> Task [MTaskShare]
+
//updateShare :: Int BCValue -> Task ()
extern "C" uint8_t read_byte(void);
extern "C" bool input_available(void);
extern "C" void msdelay(unsigned long);
+extern "C" void reset(void);
unsigned long getmillis(void)
{
{
die(s);
}
+
+void reset(void)
+{
+ Serial.end();
+ real_setup();
+}
--- /dev/null
+../client.h
\ No newline at end of file
extern "C" uint8_t read_byte(void);
extern "C" bool input_available(void);
extern "C" void msdelay(unsigned long);
+extern "C" void reset(void);
WiFiServer server(PORT);
WiFiClient client;
{
die(s);
}
+
+void reset(void)
+{
+ Serial.end();
+ real_setup();
+}