Jump to content

Use another Serial1 failed


Recommended Posts

I'm trying to use Serial1 in the OpenScope MZ firmware  By using the OSSerial module .

I make the following changes in GlobalData.cpp and in OpenScope.h.

 

GlobalData.cpp: 

image.png.113b56caefd5e35ee831422176a6fff2.png

Which dma parameters, I just fill 1, which is what should be filled DMA figures?

OpenScope.h:

image.png.2e43e9a42863aad25a872b1dc09a4dd8.png

 

Then I add    Serial1.begin(SERIALBAUDRATE); in the main.cpp, but it compiled failed that  ' Serial1' was not declared in this scope.

 image.png.95efc2a31f843febebc68944f809e650.png

Then I try to find where the original  Serial declared,but I cannot find it.I want to know where the original Serial instance is declared ?

How to solve this problem of ' Serial1' was not declared in this scope?

Besides,what codes should add in Initialize.cpp follow this:image.png.e0819b5138934f92a850e256fec13613.png

This Firmware https://github.com/victory460/OpenScopeOSSerial

Please help me.I just want to increase the serial1 transceiver  for OpenScope MZ.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...