NewBlock支持Micro-python以及一系列Sensors

Back
Category : Home

編程學會所開發之NewBlock現已支持Micro-python及一眾uPython底板包括ESP32及Raspberry Pi。以下是支援的Sensors。

雙色LED模組實驗
七彩LED燈閃爍
WS2812 RGB LED
傾斜開關
振動傳感器
模擬温度傳感器
火焰警報傳感器
PS2操縱杆
TM163四位數碼管
RIP人體熱釋電感應
RGB-LED傳感器
蜂鳴器
激光傳感器
干簧傳感器
光敏傳感器
輕觸開關
電位器
U型光電傳感器
繼電器
雨滴探測器
模擬霍爾傳感器
DS18B20温度傳感器
觸摸開關傳感器
旋轉編碼器
聲音傳感器
煙霧傳感器
超聲波傳感器
步進馬達
角度舵機
BMP280氣壓傳感器
DS1302實時時鐘
DTH11温濕度傳感器
I2C LCD
SSD1306 OLED
MFRC522 RFID射頻卡
MPU6050陀螺儀加速度傳感器
紅外避障傳感器
紅外循迹傳感器
紅外控制接收器
土壤濕度傳感器

感激生產力局及千禧獅子會支持,Java 52堂免費課程已經上到第28堂了,本次教學實驗證明小學生及年青人有能力學習更高水平之編程技術,只要教學得堂,他們是非常容易就掌握到現代編程語言之寫作方法。

Joined ESF COCO 2024 to give a talk to students. Attending the ESF COCO 2024 was an enriching experience that highlighted the excitement and potential of programming. This event provided an excellent opportunity to explore the latest technologies, share learning experiences, and connect with like-minded individuals.

First, the various keynote speeches offered valuable insights. Experts discussed emerging trends in artificial intelligence, data science, and cybersecurity. These topics not only broadened my understanding but also ignited my enthusiasm for future learning. Hearing from industry leaders about their journeys helped clarify my own career aspirations.

Additionally, the hands-on workshops were incredibly practical, allowing me to apply what I had learned. Collaborating with other participants enhanced my communication and teamwork skills, which are crucial for any programmer. Through practical exercises, I identified areas for improvement in my programming abilities, motivating me to continue honing my skills.

Finally, interacting with participants from diverse backgrounds showcased the inclusivity and vibrancy of the programming community. Everyone shared a passion for technology, exchanging stories and challenges, which solidified my commitment to pursuing programming.

In summary, ESF COCO 2024 not only enhanced my programming skills but also deepened my understanding of this rapidly evolving field. I look forward to attending similar events in the future to continue learning and growing.Share

參加了 ESF COCO 2024 ,為學生介紹OOP編程技巧。在這次英基ESF COCO 2024活動中,我深刻體會到了編程學習的魅力和力量。這是一個了解最新技術、交流學習經驗和結識志同道合朋友的絕佳機會。

首先,活動中多場專題講座讓我獲益良多。專家們分享了關於人工智能、數據科學和網絡安全的最新趨勢,這些內容不僅拓寬了我的視野,也激發了我對未來學習的熱情。聽到行業領袖們的經驗分享,讓我對未來的職業規劃有了更清晰的方向。

其次,工作坊的設計非常實用,讓我能夠親手實踐所學知識。在與其他參加者的合作中,我學會了如何在團隊中有效溝通和協作,這對我的編程能力提升非常重要。透過實際操作,我也發現了自己在編程方面的不足,並激發了我進一步學習的動力。

最後,與來自各地的參與者交流,讓我感受到編程社群的包容性和活力。大家都對技術充滿熱情,分享著各自的故事和挑戰,這樣的氛圍讓我更加堅定了繼續追求編程的決心。

總結來說,英基ESF COCO 2024不僅增強了學生的編程技能,也讓學生更加了解這個快速變化的領域。我期待將來能再次參加這樣的活動,持續學習和成長。

Netbeans output不能顯示中文字, 因為它選擇了只可顯示英文的字體。解決方法如下,在output window中right click然後點Setting,再選一隻可以出到中文的字體

Valentina will give us an introduction about bytedance visactor open source project, it is a great project to put charts in your website. In my opinion, it is even better than famous project jschart. Valentina will demo how to do project setup and coding demo.

Lunch with Thei and Microsoft to discuss the project about the AI platform

Get in HKPS website, you see “Hour Of Code” menu on top

If you are not registered yet, you jump in above page. Two options: register for teen or adult

This is the main screen, since we don’t have many courses yet, so no search bar. “On going” means the course still has lessons, you may ask teacher questions. “Done” means the course is ended, no question to teacher.

View course info and video play back

PowerPoint

Notes

  1. 下載Java https://java.sun.com
  1. 以下是HelloWorld代碼
class Example1{
    public static void main(String args[]){
          System.out.println("Hello World");
    }
}

Compile指令

javac Example1.java
java Example1

常見錯誤

錯誤一 : 打錯字

首先打錯字唔洗驚, 睇下個Error Message, 佢會有個箭咀指住大約錯邊個位, 同埋有個行數, 跟住就可以揾到錯邊

錯誤二: Save錯文件名

錯誤張文件名Save做.java.txt, 所有Java文件必需要用.java做尾. 你地係notebook到要簡下面嘅撰項