Jump to content

Marcin_B

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Marcin_B

  1. A-10C CMSP - Arduino via USB Hi! A try connection Arduino Uno with LCD 16x2 via USB. I have a problem with my code #include <DcsBios.h> #include <Servo.h> #include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); /**** Make your changes after this line ****/ void onCmsp1Change(char* newValue) { lcd.setCursor(0, 0); lcd.print(newValue); } DcsBios::StringBuffer<16> cmsp1Buffer(0x1000, onCmsp1Change); void onCmsp2Change(char* newValue) { lcd.setCursor(0, 1); lcd.print(newValue); } DcsBios::StringBuffer<16> cmsp2Buffer(0x1014, onCmsp2Change); DcsBios::ProtocolParser parser; void setup() { Serial.begin(500000); lcd.begin(16, 2); lcd.clear(); } void loop() { while (Serial.available()) { parser.processChar(Serial.read()); } DcsBios::PollingInput::pollInputs(); } void sendDcsBiosMessage(const char* msg, const char* arg) { Serial.write(msg); Serial.write(' '); Serial.write(arg); Serial.write('\n'); } void onDcsBiosWrite(unsigned int address, unsigned int value) { } These lines Arduino are not accepted: void sendDcsBiosMessage(const char* msg, const char* arg) { Serial.write(msg); Serial.write(' '); Serial.write(arg); Serial.write('\n'); } and write: new declaration 'void sendDcsBiosMessage(const char*, const char*)' Does anyone know why?
  2. Hello! From what I found on a forum to connect LCD j16x2 the CMSP is required for Ethernet module for Arduino. http://forums.eagle.ru/showthread.php?t=100220 Is there a possibility of connecting only the USB cable?
  3. Through it all works. No information that you need to have run the module before running the connect-serial-port.:thumbup:
  4. So Export looks like this: Export.lua Connect-serial-port still does not start :(
  5. I've tried everything: - DCS-bios v 0.50 - DCS-bios-arduino-library-master - Firewall disabled I enclose my file Export - perhaps there is an error? Plus DCS.log with errors. Arduino - port 5 Please help. [ATTACH]137533[/ATTACH] [ATTACH]137534[/ATTACH] DCS log.txt BIOSConfig.lua Export.lua
  6. DCS-bios communication problem Hey! I have a problem running the connect-serial-port of the DCS-bios. Displays an error message FAST_CWD. Does anyone have an idea how to solve it? I tried the solutions I found on this forum - but to no avail. Extension for Chrome DCS-Control Reference BIOS Live Preview - it does not work. So it's probably a communication problem? Windows 10
  7. Hi I have a question - do You plate with LCD connected directly to the PC?:helpsmilie:
×
×
  • Create New...