Thank you Mr 0033mer for all the wonderful videos and free downloads. I appreciate the effort you make in helping us understand how to interact with these fabulous electronics.
Have not used a P2 but it is probably similiar to the P1, so check out how to setup the I2C port with these docs: docs.google.com/document/d/1bEH0DfGmu99M1SqCbmlzl991Ssv2J5m6XWmkJX0XSl8/pub
Do you have any hints on how to load such large programs into the SCAMP3? I use the screen util on my mac, but cut and paste sometimes does not work will.
The Forth compiler is running on the microcontroller where you send code to it through the USB port. If you send code too fast for the compiler to handle, you will get errors. Find a serial terminal program where you can add character and line delays. TeraTerm running on Windows is what I use where you can add these delays. Check out this video that describes this technique, it is not the Scamp board but the principle is the same. ruclips.net/video/FAIOIACJY0w/видео.html
Thank you so much for your great, educational videos. You are the best!! Two questions - 1. I know the Scamp3 has FlashForth embedded and you have been using eForth (I think) on Arduino, in your opinion which is best? 2. I want to get a Scamp3 and try it, but the cost seems to be $30-40 per board compared to Arduino, STM32s, etc. at $4-8 per board. What justifies using the Scamp3?
I started the Scamp3 video series as I was getting a lot of requests from viewers on how to program microcontrollers using Forth. Ths Scamp3 board has a PIC microcontroller running Flashforth with the addition of Forth support words for GPIO, ADC, UART, I2C with I2C scanner, SPI, PWM, onboard Temp sensor and 16 LED array. So if you think the support is worth the price you can get the Scamp3 board or download Flashforth (free) for the Nano or UNO and write your own support words for the protocols mentioned above. I had a website on how to write your own support words but there was little interest. The Scamp3 board is a good start for beginners. If you want a simpler Forth I have written Interactive Arduino. Here is a link to a video: ruclips.net/video/PY01_9dANd8/видео.html
@@0033mer You said - " I had a website on how to write your own support words but there was little interest." Is that website still available? Where could I find it?
The website was part of a local "Maker" club. After I informed them there would be no further support, they took it down. Early into the pandemic the Maker club also closed their doors.
C is not structured to be Interactive. Forth is very good at controlling hardware using minimal memory. NASA uses it for this reason: www.forth.com/resources/space-applications/ Users of Forth do not advertise, that is why I started my channel. You can use any language for direct address programming if you clearly understand the data sheet.
Hi there, could you do the same in C, to be compatible with the Arduino IDE. never heard of this language. i'm using a pic32mx, original microchip Fubarino board. I'm trying to do the same currently, wanna use page addressing mode and do not really understand: Lower / higher Column Start Address (nibbles), Set Display Start Line. i have partially success, but the function that comes next goes on where the previous ended.
@@nil0bject i got several and they all take the same approach, start from the upper left pixel (page) and upload a 512 or 1024 byte array to the device to draw (write) using horizontal addressing mode, if you do Page addressing you can save the 512 / 1024 byte array in you precious little ram space you have on a MCU. sure you can draw images if you want to in horizontal addressing mode, but being able to more the cursor around allows you save lots of ram, use a smaller array or no array at all. the SSD1036 display has 3 modes.
@@nil0bject they all use the same method, easier to make grafix, accept for a guy that published a video on SSD1306 yesterday here, but he is using a language called Flashforth, he is doing what i want, but i can't really read that code. he posted his code online.
Fun video.
Merry Christmas and Happy Holidays to everyone here. Thank you 0033mer!
Thank you! Merry Christmas to you and all the viewers.
Excellent stuff.Thanks Ken.
Very welcome
You make the best videos! Clear well explained and complete. Thanks!
This is great! I have been looking for a way to do this in Forth for a long time.
Thank you Mr 0033mer for all the wonderful videos and free downloads. I appreciate the effort you make in helping us understand how to interact with these fabulous electronics.
You are very welcome
❤
Great Video, thanks a lot, where can we find the code you've done
Link to the code is in the description box.
Would the same work on a Prop P2 Tachyon (forth) and if so, how would you declare the pins
Have not used a P2 but it is probably similiar to the P1, so check out how to setup the I2C port with these docs:
docs.google.com/document/d/1bEH0DfGmu99M1SqCbmlzl991Ssv2J5m6XWmkJX0XSl8/pub
Do you have any hints on how to load such large programs into the SCAMP3? I use the screen util on my mac, but cut and paste sometimes does not work will.
The Forth compiler is running on the microcontroller where you send code to it through the USB port. If you send code too fast for the compiler to handle, you will get errors. Find a serial terminal program where you can add character and line delays. TeraTerm running on Windows is what I use where you can add these delays. Check out this video that describes this technique, it is not the Scamp board but the principle is the same. ruclips.net/video/FAIOIACJY0w/видео.html
Zo Die Zensor Reageerd echt Super Snel
Yes ...
@@0033mer J a Heel erg Snel Wouw
Thank you so much for your great, educational videos. You are the best!! Two questions - 1. I know the Scamp3 has FlashForth embedded and you have been using eForth (I think) on Arduino, in your opinion which is best? 2. I want to get a Scamp3 and try it, but the cost seems to be $30-40 per board compared to Arduino, STM32s, etc. at $4-8 per board. What justifies using the Scamp3?
I started the Scamp3 video series as I was getting a lot of requests from viewers on how to program microcontrollers using Forth. Ths Scamp3 board has a PIC microcontroller running Flashforth with the addition of Forth support words for GPIO, ADC, UART, I2C with I2C scanner, SPI, PWM, onboard Temp sensor and 16 LED array. So if you think the support is worth the price you can get the Scamp3 board or download Flashforth (free) for the Nano or UNO and write your own support words for the protocols mentioned above. I had a website on how to write your own support words but there was little interest. The Scamp3 board is a good start for beginners. If you want a simpler Forth I have written Interactive Arduino. Here is a link to a video: ruclips.net/video/PY01_9dANd8/видео.html
@@0033mer You said - " I had a website on how to write your own support words but there was little interest."
Is that website still available? Where could I find it?
The website was part of a local "Maker" club. After I informed them there would be no further support, they took it down. Early into the pandemic the Maker club also closed their doors.
good work
Thanks for the visit
@@0033mer hey could you reply to @Analog Dude
C is not structured to be Interactive. Forth is very good at controlling hardware using minimal memory.
NASA uses it for this reason: www.forth.com/resources/space-applications/
Users of Forth do not advertise, that is why I started my channel.
You can use any language for direct address programming if you clearly understand the data sheet.
Hi there, could you do the same in C, to be compatible with the Arduino IDE. never heard of this language. i'm using a pic32mx, original microchip Fubarino board.
I'm trying to do the same currently, wanna use page addressing mode and do not really understand: Lower / higher Column Start Address (nibbles), Set Display Start Line.
i have partially success, but the function that comes next goes on where the previous ended.
is there an existing arduino library that you can look at the code?
@@nil0bject i got several and they all take the same approach, start from the upper left pixel (page) and upload a 512 or 1024 byte array to the device to draw (write) using horizontal addressing mode, if you do Page addressing you can save the 512 / 1024 byte array in you precious little ram space you have on a MCU.
sure you can draw images if you want to in horizontal addressing mode, but being able to more the cursor around allows you save lots of ram, use a smaller array or no array at all. the SSD1036 display has 3 modes.
@@nil0bject SRAM 2 KB (ATmega328P) for the Arduino Uno if you waste more than half for a display, that sucks.
@@AnalogDude_ right. i only use raspberry pi pico's, so I doubt I can help. Do the adafruit libraries do page addressing?
@@nil0bject they all use the same method, easier to make grafix, accept for a guy that published a video on SSD1306 yesterday here, but he is using a language called Flashforth, he is doing what i want, but i can't really read that code. he posted his code online.
Very good, Ken. Thanks for a great video.
Welcome John!