Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
if you have a LoraWAN Gateway in your area
http://www.thethingsnetwork.org/map
you can get Lora shields for the arduino which enable connection to The Things network
do a web search for Arduino Lora will give plenty of links
if you don't have a local LoraWAN gateway The Things Gateway costs...
Re: how this c++ oops code is working?
the method m.input() reads the values of x and y (global class variables) and method m.add() adds the values and prints the result
use code tags
Java for HID devices
https://github.com/nyholku/purejavahidapi
it is very easy to use - a run of
import java.util.List;
import purejavahidapi.*;
public class Example1 {
public static void main(String[] args) {
System.out.println("start search for HID devices");
try {...
I have never attempted to access a USB device in Java but it should be possible
have a look at
http://usb4java.org/index.html
in C++ if you are connecting to a USB HID device you could use the HID API
**broken link removed**
for example, this loops until the device is plugged in
// Open the...
you have to set up the code so that the event handler is called when the button is pressed
the simplest way is to use the Visual Studio designer
https://msdn.microsoft.com/en-us/library/aa984320(v=vs.71).aspx
https://msdn.microsoft.com/en-us/library/zwwsdtbk(v=vs.80).aspx
you can use an if comparing with the button name
if (clickedButton.Name == "button1") textBox1.Text = "Button 1 selected";
else
if (clickedButton.Name == "button2") textBox1.Text = "Button 2 selected";
or the button text displayed on the form
if (clickedButton.Text == "Button 1")...
if you have a number of Buttons which call an event handler when they are clicked you can identify which Button caused the event
private void ButtonClick(object sender, EventArgs e)
{
Button clickedButton = (Button)sender;
textBox1.Text=...
if you are implementing the embedded code for the microcontroller write you own PC host code to communicate with it (In C++, C#, VB.NET, Java, etc)
you can then use SSH or encrypt the communication and also chose you own TCP ports
have to tried doing a web search for CS0108 , e.g.
https://msdn.microsoft.com/en-us/library/3s8070fc.aspx
if that does not help post your code together with the error message
Re: How is corrct from the attached diargam
I agree - the Arduino Mega should have sufficent digital IO pins to drive four stepper controllers even if you have more signals than direction and step, e.g. reset, step size, etc.
this saves the complexity of a multiplexor with the Arrduino UNO
tested on two remote PC using
// UDPchat2.java - simple peer-to-peer chat program using UDP
// - given remote IP address can send strings using UDP datagrams
// - will also wait for datagrams and display contents
// remote IP and port are specified via command line - default...
I set up my Explorer16 with RN171 to connect to the local Wifi and the IP configuration to UDP
1. I could send UDP datagrams from the RN171 to a Java UDP server on my PC
2. I could send UDP datagrams from the UDPclient on my PC to the RN171
when receiving UDP datagrams only the data part of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.