arduino
Python + Arduino with Mac OS X
I\'m having trouble communicating between my Arduino and Python. I have a couple of questions that I hope can be answered, but first and most importantly, I need to simply establish a connection.[详细]
2023-03-06 20:45 分类:问答How to run the "screen" command from NSTask?
I want to monitor a virtual COM port (Arduino RFID) on my Mac. I can run \"screen /dev/tty.serialnumber\" from the terminal, and it outputs the RFID serial number when I swipe it.[详细]
2023-03-04 19:57 分类:问答Incrementing array values - Arduino
I\'m trying to increment some array values: int counter[] = {0,0,0,0,0,0,0,0}; If the value of the number in position 0 reaches 25, then the value in position 1 is incremented by 1, and position 0[详细]
2023-03-04 16:53 分类:问答Construct an int from binary "components" in C
I have several equations that will return the binary value for each of the three bits in my number. I am programing this in C which is a new language for me.[详细]
2023-03-02 14:55 分类:问答Strcmp comparing to identical strings but not entering loop
char* timecompare(){ char time[8]; snprintf(time,8,\"%i:%02i\",hour(),minute()); return time; } char* timefeed = \"8:0\";[详细]
2023-03-02 00:53 分类:问答Conditional compilation from .h and .cpp
I\'m trying to make a library file. The .cpp file has some conditional compiled lines. The code can be found at:[详细]
2023-03-01 08:51 分类:问答Arduino: Difficulty with String concatenation
I\'m (mis-)using the Arduino String class. My entire program: void setup() { Serial.begin(9600); } void loop() {[详细]
2023-02-28 20:21 分类:问答Arduino: String join?
I\'m trying to write a join method for the Arduino: #define ARG_DELIMITER \',\' String join(const String strs[], const int len) {[详细]
2023-02-28 09:33 分类:问答Can I use Arduino 16-bit PWM on only one pin?
I have an Arduino Duemilanove on which I would like to use the internal 16-bit timer to do PWM on pin 9 and not pin 10 (I have a Wifi shield in my project which requires the use of pin 10).[详细]
2023-02-28 08:32 分类:问答How to convert char[] array of hex characters to a byte array of values? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Hex to char array in C I have a char[10] array that contains hex characters, and I\'d like to end up with[详细]
2023-02-28 04:52 分类:问答