That is a possibility. That is more up to you. We may also want to play around with the combined layout. Currently I have created 3 symbolic links to this project for the different directories. Might be nice to have it simply as one logical...
I usually do a periodic download of the branches when I am messing with changes. If we migrate to master should we start a new repo with a slight name change?
EDIT: Maybe something like Ra8876LiteTeensy2 or since it's not really lite anymore...
Reconnected the T41 just to make sure the display was not damaged and it still works. This is the second time the MicroMod has failed. Last time I had to adjust the MCU board in the socket and that fixed it. Hopefully it is just a wiring mistake...
@cgeber24 - In setup() make sure:
myusb.begin();
while (!firstPartition) {
myusb.Task();
}
Serial.println("USB drive initialized.");
is there, myusb.task() is what polls for a connected USB device.
Looks like our relentless spammer from India returned last night. Thanks to everyone who reported so many messages.
This time the spam originated from internet provider Reliance Jio Infocomm Limited, ASN 55836. I've added 5 more large...
@KurtE @mjs513 - Could not leave well enough alone :) Went through all of the testing again using the LA and also played more with the shifter baud rate without success.
Filled the screen with 0x0000. Then did...
I still am curious as to why there is more than one RD pulse per single read event. I know there is a dummy read with each RD event but I have seen up to 4 RD pulses per RD event. Also the RF says that writing to the config register automatically...
Already tried that before I believe but it has been quite a while since I played with this. I can setup the test sketch and check it out again. The reads from video memory were were the problem not register reads. When reading from a memory...
Interesting, that's not what I was getting at first. I'll have to to take a look on my end. The issue was with the multiple pulse RD signal provided by FlexIO:
This is what I was getting with FlexIO. Three RD pulses for one RA8876 read command...
Sorry for the confusion. I'll finish making the needed changes and test. Is there a way to fork a single branch from a repo or do you have to fork the whole repo?
I know sort-of the chicken and the egg...
That is, don't know what was updated from what @mjs513 branch has:
All of the changes I see up on your fork/branch from what is/was in @mjs513 branch look like:
Probably need to use some winmerge or the...
@mjs513 - That is strange. As I mentioned all of the changes I made should be up at:
https://github.com/wwatson4506/Ra8876LiteTeensy/tree/RA8876_combined
I am now working with @KurtE's "combined_t4x_wip" branch. Unfortunately he forked a copy of...
Looks readRect or writeRect, gradients as well has an issue if you run @KurtE's FB test. Might be read speed as @KurtE mentioned
Top screen SPI; Bottom screen: 8080 on t4.1
now to start looking at deltas
@KurtE - Was just checking out your library in post #82. Unfortunately not all the changes were pushed up so I am going through and adding the remaining change manually. The other issue is the RD signal using FlexIO does not play nice with the...
One last issue with "RA8876_combined" is with "ILI_Ada_FontTest.ino". Font OpenSans24 is not working properly:
The last issue. Will deal with it later. Updating the repo now...
Very nice, I have been running around this morning chasing down a lost cell phone. Going to have some breakfast and then do the final GitHub update into "RA8876_combined". Will check out your repo...
I have both setup... Bottom 8 bit, top SPI
Was playing today with ILI948x library for T4 and got that one to display. Now trying to decide on if/how to integrate
the integrate first into our combined ILI948x library.
But probably before that...
@mjs513 @KurtE - Well all sketches seem to be working now in 8Bit mode and 16Bit mode including the sketches in the "testcases" folder 😅
I done for the day. I found and fixed a few more issues tomorrow I will update RA8876_common on my GitHub...
Sorry was off doing other things. Hope your moving went well. Knew there had to be something.
Basically its already there - probably should rename it. Had to a hack for drawPixel:
#define use_lcdDataWrite16bbp
Since lcdDataWrite16bpp is...
As I have mentioned in some other threads. Mainly those talking about the DevBoard 4 and now the DevBoard 5. Figured it might be better to
break this out as it's own topic.
I personally want a reasonably clean way to do this, without having to...
I had the same headaches when I was duplicating out all of the code for the different boards. Some good news. I have everything working including the ones in "testcases" folder in 8Bit mode and most all of it working 16Bit mode:) The biggest...
@mjs513 - I cloned a copy of library and will start going through it. Not going to worry about 16Bit mode for now. I'll concentrate on testing everything in 8Bit mode. I'm having to move my storage unit to another one :eek: so I'm kinda bouncing...
Quick update:
Branch renamed: https://github.com/mjs513/Ra8876LiteTeensy/tree/RA8876_combined
I had DrawPixel and writeRect in each lib but moved them back to RA8876 common.
Doing some testing
1. the embedPicture sketch is giving me 2d ready...
:D
What about MMOD or other boards who might enough FlexIO1 or 2 pins that are consecutive for DMA., like Micromod ..
Is there another branch we need to merge in? Or should we do like ILI948x and have a FlexIO implementation which
detects if...
Ok getting confused now threads.
Ok guys created a new combined branch that has 3 libraries: https://github.com/mjs513/Ra8876LiteTeensy/tree/RA8896_combined
GFX has all the common functions across devices
t41_p: obviously for the t41 with...
No worries :) I just adjusted:
//const int16_t posy[6] = {63, 63, 63, 63, 63, 63};
to:
const int16_t posy[6] = {65, 65, 65, 65, 65, 65}; // Must be 2 pixels more than radius.
I don't even see a difference on the screen.
Onto the next...
That is the idea. For example, I am not going to take over my MICROMOD board type for DEVBOARD as I use MICROMODs...
Note: I am playing with a sort of related diversion:
Here is a sketch I have that blinks the LED on my T4.1
#include...
@mjs513 @KurtE - Working with the example "gauges.ino", I noticed that no outer circle was being drawn. I found that the radius has to be two pixels less than the x or y coordinates otherwise no circle is drawn.
Example:
drawGauge(100,100,100)...
Sorry, I have been goofing off today. Been playing more with the possibility of having Variants, work with Teensy 4.x.
Or at least a good subset of stuff.
Earlier I had support for allowing you to declare your own pin tables.
I have the...
I ran through all the examples except a couple this morning - I pushed them up this morning. Not sure when you last synched?
Edit: But yes but when this is all working then other boards should be easier to adapt.
Just went through all examples after transfer all except the ones in testcases folder. A few are not working in 8Bit mode and quite a few are not working in 16Bit mode. I am will to go through all of them and get them working. Once RA8876_t41_p...
p#21 came together using this set of PIN GPIO ##'s in GREEN boxes on the DevKit PICO D4 board based on those shown here on the AdaF schematic - and wiring as shown above to the Teensy - just like the prior 4201 Breakout images.
GOT IT: Went to the schematic for the 4201 AdaF Breakout - and the AdaF linked 1.7.7 firmware
1.7.7
Firmware OK
MAC: 30:83:98:D7:36:AC
Scanning available networks...
** Scan Networks **
number of available networks:10
0) aNET Signal: -26 dBm...
Morning all
Ran through all the tests this morning (not ones with usb/mouse - graphicscursor and touch). Everything seems to be except clipping in @KurtE's FB sketch - when selected it hangs.. after drawing a bit - not sure what I messed up
@KurtE - @wwatson
Well I got an initial cut at breaking it apart and works a little bit :) This is just a first cut at breaking it apart now to get the linkages right
https://github.com/mjs513/Ra8876LiteTeensy/tree/RA8876_Common_WIP
Already incorporated in the t41_p branch that I am working with :)
Probably will look at doing what we did for the Teensy_GFX class which has all graphic primitives - theres a lot more in the RA8876 so may take a while to disentangle all of it
Note: I added that rectangle as a test to see where the origin is for the rotation.
// Set which Display we are using and at what speed
// Currently I have options for both MICROMOD and T42 to make it
// easier for testing
#include "Arduino.h"...